eclass/gnome2-utils.eclass: fix DGSEAL_ENABLE sed (#530490 by Alexander Tsoy)
authorPacho Ramos <pacho@gentoo.org>
Sat, 30 Jan 2016 09:56:51 +0000 (10:56 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 30 Jan 2016 09:56:51 +0000 (10:56 +0100)
eclass/gnome2-utils.eclass

index d36f634216dc9228d37fdccb7bbfcd5c49353c6a..1f4638902386733723f69a14fc4618204a764d37 100644 (file)
@@ -503,7 +503,7 @@ gnome2_disable_deprecation_warning() {
 
                LC_ALL=C sed -r -i \
                        -e 's:-D[A-Z_]+_DISABLE_DEPRECATED:$(/bin/true):g' \
-                       -e 's:-DGSEAL_ENABLE+[A-Z_]:$(/bin/true):g' \
+                       -e 's:-DGSEAL_ENABLE(=[A-Za-z0-9_]*)?:$(/bin/true):g' \
                        -i "${makefile}"
 
                if [[ $? -ne 0 ]]; then