From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: gnome2.eclass |
Date: | Sun, 25 Sep 2011 15:15:32 |
Message-Id: | 20110925151521.D180820036@flycatcher.gentoo.org |
1 | pacho 11/09/25 15:15:21 |
2 | |
3 | Modified: gnome2.eclass |
4 | Log: |
5 | Pass --disable-maintainer-mode when needed, thanks to Nirbheek for his help. |
6 | |
7 | Revision Changes Path |
8 | 1.102 eclass/gnome2.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome2.eclass?rev=1.102&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome2.eclass?rev=1.102&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome2.eclass?r1=1.101&r2=1.102 |
13 | |
14 | Index: gnome2.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v |
17 | retrieving revision 1.101 |
18 | retrieving revision 1.102 |
19 | diff -u -r1.101 -r1.102 |
20 | --- gnome2.eclass 25 Aug 2011 18:08:59 -0000 1.101 |
21 | +++ gnome2.eclass 25 Sep 2011 15:15:21 -0000 1.102 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2011 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.101 2011/08/25 18:08:59 nirbheek Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.102 2011/09/25 15:15:21 pacho Exp $ |
27 | |
28 | # @ECLASS: gnome2.eclass |
29 | # @MAINTAINER: |
30 | @@ -120,6 +120,11 @@ |
31 | G2CONF="${G2CONF} $(use_enable doc gtk-doc)" |
32 | fi |
33 | |
34 | + # Pass --disable-maintainer-mode when needed |
35 | + if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" configure.*; then |
36 | + G2CONF="${G2CONF} --disable-maintainer-mode" |
37 | + fi |
38 | + |
39 | # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) |
40 | addwrite "$(unset HOME; echo ~)/.gnome2" |