diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-08-02 01:21:56 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-08-02 01:21:56 +0000 |
commit | f8390255d4078e65cdad43eda64a3dd061711335 (patch) | |
tree | 5932ae75e3f606205e786970dd362521fd7374d6 | |
parent | (#182516) Build libxf86config PIC for other packages that use it on 64-bit sy... (diff) | |
download | historical-f8390255d4078e65cdad43eda64a3dd061711335.tar.gz historical-f8390255d4078e65cdad43eda64a3dd061711335.tar.bz2 historical-f8390255d4078e65cdad43eda64a3dd061711335.zip |
(#178378) Check for ECONF_SOURCE, so you can do builddir != srcdir.
-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} \ |