summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-06 06:18:55 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-06 06:18:55 +0000
commit6df3c2f6f88dd15dd38e07227b97d49665b99430 (patch)
tree543996d25ef71097735648d078f88072c98503a1 /sys-libs/zlib
parentppc stable and add cross-compile fixes (diff)
downloadhistorical-6df3c2f6f88dd15dd38e07227b97d49665b99430.tar.gz
historical-6df3c2f6f88dd15dd38e07227b97d49665b99430.tar.bz2
historical-6df3c2f6f88dd15dd38e07227b97d49665b99430.zip
use tc-export
Diffstat (limited to 'sys-libs/zlib')
-rw-r--r--sys-libs/zlib/zlib-1.2.2.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-libs/zlib/zlib-1.2.2.ebuild b/sys-libs/zlib/zlib-1.2.2.ebuild
index 9a75ad1a486a..47bd758d5867 100644
--- a/sys-libs/zlib/zlib-1.2.2.ebuild
+++ b/sys-libs/zlib/zlib-1.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.2.ebuild,v 1.3 2004/12/06 06:01:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.2.ebuild,v 1.4 2004/12/06 06:18:55 vapier Exp $
inherit eutils flag-o-matic
@@ -15,8 +15,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
IUSE="build"
RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- >=sys-devel/binutils-2.14.90.0.6"
src_unpack() {
unpack ${A}
@@ -35,7 +33,8 @@ src_unpack() {
}
src_compile() {
- export CC="$(tc-getCC)" AR="$(tc-getAR) rc" RANLIB="$(tc-getRANLIB)"
+ tc-export CC RANLIB
+ export AR="$(tc-getAR) rc"
./configure --shared --prefix=/usr --libdir=/$(get_libdir) || die
emake || die
}