summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/zlib/zlib-1.1.4.ebuild')
-rw-r--r--sys-libs/zlib/zlib-1.1.4.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-libs/zlib/zlib-1.1.4.ebuild b/sys-libs/zlib/zlib-1.1.4.ebuild
index 9a26924e1b72..325bb41a4a1f 100644
--- a/sys-libs/zlib/zlib-1.1.4.ebuild
+++ b/sys-libs/zlib/zlib-1.1.4.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.1.4.ebuild,v 1.7 2002/08/14 04:08:47 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.1.4.ebuild,v 1.8 2002/09/14 15:51:26 bjb Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Standard (de)compression library"
SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2"
HOMEPAGE="http://www.gzip.org/zlib"
LICENSE="ZLIB"
-KEYWORDS="x86 ppc sparc sparc64"
+KEYWORDS="x86 ppc sparc sparc64 alpha"
SLOT="0"
DEPEND="virtual/glibc"
@@ -15,7 +15,12 @@ DEPEND="virtual/glibc"
src_compile() {
./configure --shared --prefix=/usr || die
- emake || die
+
+ if [ ${ARCH} = "alpha" ] ; then
+ emake CFLAGS="$CFLAGS -fPIC" || die
+ else
+ emake || die
+ fi
make test || die