commit: d214c68e9c43c08bf998ea34c9b4faa42ca82586 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> AuthorDate: Sun Apr 20 20:15:41 2014 +0000 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> CommitDate: Sun Apr 20 22:54:52 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d214c68e
eclass/gnome2.eclass: sync with gentoo-x86 --- eclass/gnome2.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index af95a5b..24635a9 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -191,6 +191,11 @@ gnome2_src_configure() { G2CONF="--enable-compile-warnings=minimum ${G2CONF}" fi + # Pass --docdir with proper directory, bug #482646 + if grep -q "^ *--docdir=" "${ECONF_SOURCE:-.}"/configure; then + G2CONF="--docdir="${EPREFIX}"/usr/share/doc/${PF} ${G2CONF}" + fi + # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) addwrite "$(unset HOME; echo ~)/.gnome2"