summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-22 04:04:46 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-22 04:04:46 +0000
commitb8007f5419a30c9cfeec2f32c758c6ac43ba480d (patch)
tree1238da81a3197f459397190fc651cb5e6c80b00f /sys-libs
parentclean up the ebuild (diff)
downloadgentoo-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.ebuild7
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