| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.108 2012/10/23 20:32:51 eva Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.109 2012/11/07 19:17:40 pacho Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: gnome2.eclass |
5 | # @ECLASS: gnome2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # gnome@gentoo.org |
7 | # gnome@gentoo.org |
| 8 | # @BLURB: |
8 | # @BLURB: |
| … | |
… | |
| 131 | # Pass --disable-scrollkeeper when possible |
131 | # Pass --disable-scrollkeeper when possible |
| 132 | if grep -q "disable-scrollkeeper" configure; then |
132 | if grep -q "disable-scrollkeeper" configure; then |
| 133 | G2CONF="${G2CONF} --disable-scrollkeeper" |
133 | G2CONF="${G2CONF} --disable-scrollkeeper" |
| 134 | fi |
134 | fi |
| 135 | |
135 | |
|
|
136 | |
|
|
137 | # Pass --disable-silent-rules when possible (not needed for eapi5), bug #429308 |
|
|
138 | if has ${EAPI:-0} 0 1 2 3 4; then |
|
|
139 | if grep -q "disable-silent-rules" configure; then |
|
|
140 | G2CONF="${G2CONF} --disable-silent-rules" |
|
|
141 | fi |
|
|
142 | fi |
|
|
143 | |
| 136 | # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) |
144 | # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) |
| 137 | addwrite "$(unset HOME; echo ~)/.gnome2" |
145 | addwrite "$(unset HOME; echo ~)/.gnome2" |
| 138 | |
146 | |
| 139 | econf "$@" ${G2CONF} |
147 | econf "$@" ${G2CONF} |
| 140 | } |
148 | } |