summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-10-14 21:07:40 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-10-14 21:07:40 +0000
commit8ec8f40e96d43d1f789a4692eadc1532ede2a0cc (patch)
tree5569475795213ba85a5a6e34e56e9faa4689b841 /sys-apps/pciutils
parentVersion bump. Closes #67344. (Manifest recommit) (diff)
downloadgentoo-2-8ec8f40e96d43d1f789a4692eadc1532ede2a0cc.tar.gz
gentoo-2-8ec8f40e96d43d1f789a4692eadc1532ede2a0cc.tar.bz2
gentoo-2-8ec8f40e96d43d1f789a4692eadc1532ede2a0cc.zip
Fixing the position of "emake lib" since under certain conditions lspci and friends get compiled without the /usr/share/misc/pci.ids sed getting run.
Diffstat (limited to 'sys-apps/pciutils')
-rw-r--r--sys-apps/pciutils/ChangeLog6
-rw-r--r--sys-apps/pciutils/pciutils-2.1.11-r3.ebuild7
2 files changed, 8 insertions, 5 deletions
diff --git a/sys-apps/pciutils/ChangeLog b/sys-apps/pciutils/ChangeLog
index 702237f492e3..67561a2a1979 100644
--- a/sys-apps/pciutils/ChangeLog
+++ b/sys-apps/pciutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/pciutils
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.36 2004/10/09 08:36:07 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.37 2004/10/14 21:07:40 plasmaroo Exp $
+
+ 14 Oct 2004; <plasmaroo@gentoo.org> pciutils-2.1.11-r3.ebuild:
+ Fixing the position of "emake lib" since under certain conditions lspci and
+ friends get compiled without the /usr/share/misc/pci.ids sed getting run.
*pciutils-2.1.11-r3 (09 Oct 2004)
diff --git a/sys-apps/pciutils/pciutils-2.1.11-r3.ebuild b/sys-apps/pciutils/pciutils-2.1.11-r3.ebuild
index f2b064d8900b..1757385708f1 100644
--- a/sys-apps/pciutils/pciutils-2.1.11-r3.ebuild
+++ b/sys-apps/pciutils/pciutils-2.1.11-r3.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-apps/pciutils/pciutils-2.1.11-r3.ebuild,v 1.1 2004/10/09 08:36:07 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r3.ebuild,v 1.2 2004/10/14 21:07:40 plasmaroo Exp $
inherit eutils flag-o-matic
@@ -24,7 +24,6 @@ src_unpack() {
epatch ${FILESDIR}/${PV}-sysfs.patch #38645
epatch ${FILESDIR}/pciutils-2.1.11-fix-pci-ids-location-refs.patch # bug #62786
-
# Unconditionally use -fPIC for libs (#55238)
sed -i \
-e "/^include/s/$/\nCFLAGS+=-fPIC/" lib/Makefile \
@@ -43,14 +42,14 @@ src_unpack() {
}
src_compile() {
- emake PREFIX=/usr lib || die "emake lib failed"
-
cd ${S}/lib
+ ./configure
sed -i \
-e "s:/usr/share/pci.ids:/usr/share/misc/pci.ids:" config.h \
|| die "sed config.h failed"
cd ${S}
+ emake PREFIX=/usr lib || die "emake lib failed"
emake PREFIX=/usr || die "emake failed"
sed -i \