Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: eclass/
Date: Mon, 26 Sep 2011 05:05:42
Message-Id: 75ab5a00e1fa351d8e1eef9a13e3524b499d8a80.tetromino@gentoo
1 commit: 75ab5a00e1fa351d8e1eef9a13e3524b499d8a80
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 26 04:00:41 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Mon Sep 26 04:00:41 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=75ab5a00
7
8 eclass/gnome2.eclass: sync with gx86 for --disable-maintainer-mode
9
10 Add the following change from gx86:
11
12 Sun Sep 25 15:15:21 2011 UTC by pacho
13
14 Pass --disable-maintainer-mode when needed, thanks to Nirbheek for his help.
15
16 ---
17 eclass/gnome2.eclass | 5 +++++
18 1 files changed, 5 insertions(+), 0 deletions(-)
19
20 diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
21 index 5803826..cc3f8ac 100644
22 --- a/eclass/gnome2.eclass
23 +++ b/eclass/gnome2.eclass
24 @@ -140,6 +140,11 @@ gnome2_src_configure() {
25 G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
26 fi
27
28 + # Pass --disable-maintainer-mode when needed
29 + if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" configure.*; then
30 + G2CONF="${G2CONF} --disable-maintainer-mode"
31 + fi
32 +
33 # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
34 addwrite "$(unset HOME; echo ~)/.gnome2"