diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-22 04:04:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-22 04:04:46 +0000 |
commit | b8007f5419a30c9cfeec2f32c758c6ac43ba480d (patch) | |
tree | 1238da81a3197f459397190fc651cb5e6c80b00f /sys-libs | |
parent | clean up the ebuild (diff) | |
download | gentoo-2-b8007f5419a30c9cfeec2f32c758c6ac43ba480d.tar.gz gentoo-2-b8007f5419a30c9cfeec2f32c758c6ac43ba480d.tar.bz2 gentoo-2-b8007f5419a30c9cfeec2f32c758c6ac43ba480d.zip |
always run configure with --host and add --build when CBUILD is set
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/db/db-4.1.25_p1-r3.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-libs/db/db-4.1.25_p1-r3.ebuild b/sys-libs/db/db-4.1.25_p1-r3.ebuild index 4f8337d3cd3b..e39441801448 100644 --- a/sys-libs/db/db-4.1.25_p1-r3.ebuild +++ b/sys-libs/db/db-4.1.25_p1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.1.25_p1-r3.ebuild,v 1.18 2004/03/21 07:18:02 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.1.25_p1-r3.ebuild,v 1.19 2004/03/22 04:04:46 vapier Exp $ IUSE="tcltk java doc" @@ -81,9 +81,7 @@ src_compile() { export JAVAC=`basename ${JAVAC}` fi - if [ "${PROFILE_ARCH}" = "sparc64" ]; then - myconf="${myconf} --host=${CHOST}" - fi + [ -n "${CBUILD}" ] && myconf="${myconf} --build=${CBUILD}" ../dist/configure \ --prefix=/usr \ @@ -95,6 +93,7 @@ src_compile() { --enable-compat185 \ --enable-cxx \ --with-uniquename \ + --host=${CHOST} \ ${myconf} || die emake || make || die |