diff options
author | 2007-08-02 01:21:56 +0000 | |
---|---|---|
committer | 2007-08-02 01:21:56 +0000 | |
commit | 797f466d41442a0c0c39072c7b0cdcbbfc29c07d (patch) | |
tree | 8ebc7987143e8495ca26ebf8604cf7f3d744a57a /eclass | |
parent | (#182516) Build libxf86config PIC for other packages that use it on 64-bit sy... (diff) | |
download | gentoo-2-797f466d41442a0c0c39072c7b0cdcbbfc29c07d.tar.gz gentoo-2-797f466d41442a0c0c39072c7b0cdcbbfc29c07d.tar.bz2 gentoo-2-797f466d41442a0c0c39072c7b0cdcbbfc29c07d.zip |
(#178378) Check for ECONF_SOURCE, so you can do builddir != srcdir.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/x-modular.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index ae60ae9a796d..3c5a2ea545d1 100644 --- a/eclass/x-modular.eclass +++ b/eclass/x-modular.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.84 2007/07/02 14:24:27 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.85 2007/08/02 01:21:56 dberkholz Exp $ # # Author: Donnie Berkholz <dberkholz@gentoo.org> # @@ -319,7 +319,7 @@ x-modular_src_configure() { x-modular_debug_setup # If prefix isn't set here, .pc files cause problems - if [[ -x ./configure ]]; then + if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then econf --prefix=${XDIR} \ --datadir=${XDIR}/share \ ${FONT_OPTIONS} \ |