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
commit0b088da42b2106c39227a2af3919d058751311e7 (patch)
tree248d303f4876afbc93921187e01b943662152846 /sys-libs/db/db-4.1.25_p1-r3.ebuild
parentclean up the ebuild (diff)
downloadhistorical-0b088da42b2106c39227a2af3919d058751311e7.tar.gz
historical-0b088da42b2106c39227a2af3919d058751311e7.tar.bz2
historical-0b088da42b2106c39227a2af3919d058751311e7.zip
always run configure with --host and add --build when CBUILD is set
Diffstat (limited to 'sys-libs/db/db-4.1.25_p1-r3.ebuild')
-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