summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad House <brad_mssw@gentoo.org>2004-01-25 05:00:21 +0000
committerBrad House <brad_mssw@gentoo.org>2004-01-25 05:00:21 +0000
commit967d898c89b4aeff03c10896b9bc03bb73e3eb46 (patch)
tree9744af21a6e56c7efe353d927c960304a1a896c0 /sys-apps/pciutils
parentcommit despite mips error (diff)
downloadgentoo-2-967d898c89b4aeff03c10896b9bc03bb73e3eb46.tar.gz
gentoo-2-967d898c89b4aeff03c10896b9bc03bb73e3eb46.tar.bz2
gentoo-2-967d898c89b4aeff03c10896b9bc03bb73e3eb46.zip
fpic fix
Diffstat (limited to 'sys-apps/pciutils')
-rw-r--r--sys-apps/pciutils/pciutils-2.1.11-r1.ebuild4
-rw-r--r--sys-apps/pciutils/pciutils-2.1.11.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild b/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild
index 31bdf89a6f8a..7bc6aec04337 100644
--- a/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-2.1.11-r1.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-apps/pciutils/pciutils-2.1.11-r1.ebuild,v 1.2 2004/01/19 04:44:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild,v 1.3 2004/01/25 05:00:21 brad_mssw Exp $
inherit eutils
@@ -15,6 +15,8 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~arm ~ia64 ~ppc64 ~amd64"
DEPEND="virtual/glibc
net-misc/wget"
+[ "${ARCH}" = "amd64" ] && append-flags -fPIC
+
src_unpack() {
unpack ${A}
cd ${S}
diff --git a/sys-apps/pciutils/pciutils-2.1.11.ebuild b/sys-apps/pciutils/pciutils-2.1.11.ebuild
index d7f9fef8ae3f..3c453d5fc031 100644
--- a/sys-apps/pciutils/pciutils-2.1.11.ebuild
+++ b/sys-apps/pciutils/pciutils-2.1.11.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-apps/pciutils/pciutils-2.1.11.ebuild,v 1.9 2004/01/24 18:25:47 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11.ebuild,v 1.10 2004/01/25 05:00:21 brad_mssw Exp $
inherit eutils
@@ -16,6 +16,8 @@ KEYWORDS="x86 amd64 ~ppc sparc alpha hppa ~arm ia64 ~ppc64"
DEPEND="virtual/glibc
net-misc/wget"
+[ "${ARCH}" = "amd64" ] && append-flags -fPIC
+
src_unpack() {
unpack ${A}
cd ${S}