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.116 2012/12/05 23:41:52 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.117 2012/12/16 14:11:58 eva 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: |
… | |
… | |
158 | # Pass --disable-schemas-install when possible |
158 | # Pass --disable-schemas-install when possible |
159 | if grep -q "disable-schemas-install" ${ECONF_SOURCE:-.}/configure; then |
159 | if grep -q "disable-schemas-install" ${ECONF_SOURCE:-.}/configure; then |
160 | G2CONF="${G2CONF} --disable-schemas-install" |
160 | G2CONF="${G2CONF} --disable-schemas-install" |
161 | fi |
161 | fi |
162 | |
162 | |
|
|
163 | # Pass --disable-schemas-compile when possible |
|
|
164 | if grep -q "disable-schemas-compile" ${ECONF_SOURCE:-.}/configure; then |
|
|
165 | G2CONF="${G2CONF} --disable-schemas-compile" |
|
|
166 | fi |
|
|
167 | |
163 | # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) |
168 | # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) |
164 | addwrite "$(unset HOME; echo ~)/.gnome2" |
169 | addwrite "$(unset HOME; echo ~)/.gnome2" |
165 | |
170 | |
166 | econf "$@" ${G2CONF} |
171 | econf "$@" ${G2CONF} |
167 | } |
172 | } |