eclass/gnome2-utils.eclass: prevent spurious warnings (#448822)
authorPacho Ramos <pacho@gentoo.org>
Sat, 30 Jan 2016 09:49:04 +0000 (10:49 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 30 Jan 2016 09:49:04 +0000 (10:49 +0100)
eclass/gnome2-utils.eclass

index 977ba908a23a9513fc7817c8454556cc63fe9a74..d36f634216dc9228d37fdccb7bbfcd5c49353c6a 100644 (file)
@@ -502,8 +502,8 @@ gnome2_disable_deprecation_warning() {
                fi
 
                LC_ALL=C sed -r -i \
-                       -e 's:-D[A-Z_]+_DISABLE_DEPRECATED:$(NULL):g' \
-                       -e 's:-DGSEAL_ENABLE+[A-Z_]:$(NULL):g' \
+                       -e 's:-D[A-Z_]+_DISABLE_DEPRECATED:$(/bin/true):g' \
+                       -e 's:-DGSEAL_ENABLE+[A-Z_]:$(/bin/true):g' \
                        -i "${makefile}"
 
                if [[ $? -ne 0 ]]; then