summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-30 10:49:04 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-30 10:49:04 +0100
commita9ceaadb437d2eb543613cfa327220447a51c72f (patch)
treed3ba78cee47de3902f2b9d1482474225bb70432f /eclass/gnome2-utils.eclass
parenteclass/clutter.eclass: remove obsolete eclass (#486362) (diff)
downloadgentoo-a9ceaadb437d2eb543613cfa327220447a51c72f.tar.gz
gentoo-a9ceaadb437d2eb543613cfa327220447a51c72f.tar.bz2
gentoo-a9ceaadb437d2eb543613cfa327220447a51c72f.zip
eclass/gnome2-utils.eclass: prevent spurious warnings (#448822)
Diffstat (limited to 'eclass/gnome2-utils.eclass')
-rw-r--r--eclass/gnome2-utils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass
index 977ba908a23..d36f634216d 100644
--- a/eclass/gnome2-utils.eclass
+++ b/eclass/gnome2-utils.eclass
@@ -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