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
commit0f084de7fcb4d1f677e5dc3085c9c5c081f63bfc (patch)
treec1e5ad02840b0c882a96c85caa4496ac64e348aa /sys-libs/zlib
parentppc stable and add cross-compile fixes (Manifest recommit) (diff)
downloadgentoo-2-0f084de7fcb4d1f677e5dc3085c9c5c081f63bfc.tar.gz
gentoo-2-0f084de7fcb4d1f677e5dc3085c9c5c081f63bfc.tar.bz2
gentoo-2-0f084de7fcb4d1f677e5dc3085c9c5c081f63bfc.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
}