summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gmail.com>2011-09-26 00:00:41 -0400
committerAlexandre Rostovtsev <tetromino@gmail.com>2011-09-26 00:46:22 -0400
commit2a71614be24720df1d584944f2a29dd6e3a92c42 (patch)
treebce385a0d497b31e6e89717189bd8adc96304180 /eclass
parenteclass/gnome2-live.eclass: switch to git-2.eclass (diff)
downloadgnome-2a71614be24720df1d584944f2a29dd6e3a92c42.tar.gz
gnome-2a71614be24720df1d584944f2a29dd6e3a92c42.tar.bz2
gnome-2a71614be24720df1d584944f2a29dd6e3a92c42.zip
eclass/gnome2.eclass: sync with gx86 for --disable-maintainer-mode
Add the following change from gx86: Sun Sep 25 15:15:21 2011 UTC by pacho Pass --disable-maintainer-mode when needed, thanks to Nirbheek for his help.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome2.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 5803826e..cc3f8ace 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -140,6 +140,11 @@ gnome2_src_configure() {
G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
fi
+ # Pass --disable-maintainer-mode when needed
+ if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" configure.*; then
+ G2CONF="${G2CONF} --disable-maintainer-mode"
+ fi
+
# Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
addwrite "$(unset HOME; echo ~)/.gnome2"