summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad House <brad_mssw@gentoo.org>2003-11-08 17:20:54 +0000
committerBrad House <brad_mssw@gentoo.org>2003-11-08 17:20:54 +0000
commit59447e20b9cecb3444b9a166e7cbafabcf76dbe7 (patch)
tree1246f400b00cf8dbc05fb740d95d6402f6eabbf4 /dev-libs/libpcre/libpcre-4.2-r1.ebuild
parentadded sparc keyword (diff)
downloadgentoo-2-59447e20b9cecb3444b9a166e7cbafabcf76dbe7.tar.gz
gentoo-2-59447e20b9cecb3444b9a166e7cbafabcf76dbe7.tar.bz2
gentoo-2-59447e20b9cecb3444b9a166e7cbafabcf76dbe7.zip
append-flags -fPIC for amd64
Diffstat (limited to 'dev-libs/libpcre/libpcre-4.2-r1.ebuild')
-rw-r--r--dev-libs/libpcre/libpcre-4.2-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-libs/libpcre/libpcre-4.2-r1.ebuild b/dev-libs/libpcre/libpcre-4.2-r1.ebuild
index 65005dff81c5..b6a8c72e02f6 100644
--- a/dev-libs/libpcre/libpcre-4.2-r1.ebuild
+++ b/dev-libs/libpcre/libpcre-4.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-4.2-r1.ebuild,v 1.7 2003/09/18 21:52:17 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-4.2-r1.ebuild,v 1.8 2003/11/08 17:20:51 brad_mssw Exp $
inherit libtool
@@ -16,6 +16,10 @@ KEYWORDS="x86 ~ppc sparc ~alpha hppa amd64 ia64"
DEPEND="virtual/glibc"
src_compile() {
+ if [ "${ARCH}" = "amd64" ]
+ then
+ append-flags -fPIC
+ fi
elibtoolize
econf --enable-utf8 || die
make || die