summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-30 10:56:51 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-30 10:56:51 +0100
commitca7162773638d3393ae2413796aef607397ab30e (patch)
tree1ba2d28e97d602117de9675f2266608ba92730a3 /eclass/gnome2-utils.eclass
parenteclass/gnome2.eclass: prevent packages from trying to update mimedb (#511944) (diff)
downloadgentoo-ca7162773638d3393ae2413796aef607397ab30e.tar.gz
gentoo-ca7162773638d3393ae2413796aef607397ab30e.tar.bz2
gentoo-ca7162773638d3393ae2413796aef607397ab30e.zip
eclass/gnome2-utils.eclass: fix DGSEAL_ENABLE sed (#530490 by Alexander Tsoy)
Diffstat (limited to 'eclass/gnome2-utils.eclass')
-rw-r--r--eclass/gnome2-utils.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass
index d36f634216d..1f463890238 100644
--- a/eclass/gnome2-utils.eclass
+++ b/eclass/gnome2-utils.eclass
@@ -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