From b8007f5419a30c9cfeec2f32c758c6ac43ba480d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 22 Mar 2004 04:04:46 +0000 Subject: always run configure with --host and add --build when CBUILD is set --- sys-libs/db/db-4.1.25_p1-r3.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys-libs') 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 -- cgit v1.2.3-65-gdbad