summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-17 06:04:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-17 06:04:48 +0000
commitbb02c6c85ca146fe441c230fe14f03eb4f64bfd6 (patch)
tree9ecf043fc921b43d64937cb669a0d1a644c6d372 /sys-apps/pciutils
parentFix x11-plugins/wmseti-1.0.3.ebuild header, bump it stable for x86. (Manifest... (diff)
downloadgentoo-2-bb02c6c85ca146fe441c230fe14f03eb4f64bfd6.tar.gz
gentoo-2-bb02c6c85ca146fe441c230fe14f03eb4f64bfd6.tar.bz2
gentoo-2-bb02c6c85ca146fe441c230fe14f03eb4f64bfd6.zip
make parallel-safe; error check sed; use emake; error messages
Diffstat (limited to 'sys-apps/pciutils')
-rw-r--r--sys-apps/pciutils/ChangeLog6
-rw-r--r--sys-apps/pciutils/pciutils-2.1.11-r1.ebuild23
2 files changed, 19 insertions, 10 deletions
diff --git a/sys-apps/pciutils/ChangeLog b/sys-apps/pciutils/ChangeLog
index e2d6a35c0116..5e490cf02f96 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.31 2004/06/30 23:02:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.32 2004/07/17 06:04:48 mr_bones_ Exp $
+
+ 16 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ pciutils-2.1.11-r1.ebuild:
+ make parallel-safe; error check sed; use emake; error messages
30 Jun 2004; Aron Griffis <agriffis@gentoo.org> pciutils-2.1.11-r1.ebuild,
pciutils-2.1.11.ebuild:
diff --git a/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild b/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild
index e7224d04696e..0abaf965e656 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 Foundation
# 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.15 2004/06/30 23:02:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild,v 1.16 2004/07/17 06:04:48 mr_bones_ Exp $
inherit eutils flag-o-matic
@@ -24,28 +24,33 @@ src_unpack() {
epatch ${FILESDIR}/${PV}-sysfs.patch #38645
[ "${ARCH}" = "amd64" ] && append-flags -fPIC
- sed -i "s:-O2:${CFLAGS}:" Makefile
+ sed -i \
+ -e "s:-O2:${CFLAGS}:" Makefile \
+ || die "sed Makefile failed"
./update-pciids.sh
}
src_compile() {
- make PREFIX=/usr lib/config.h || die
+ emake PREFIX=/usr lib || die "emake lib failed"
cd ${S}/lib
- sed -i "s:/usr/share/pci.ids:/usr/share/misc/pci.ids:" config.h || die
+ sed -i \
+ -e "s:/usr/share/pci.ids:/usr/share/misc/pci.ids:" config.h \
+ || die "sed config.h failed"
cd ${S}
- make PREFIX=/usr || die
+ emake PREFIX=/usr || die "emake failed"
- for i in update-pciids lspci.8 update-pciids.8; do
- sed -i "s:/usr/share/pci.ids:/usr/share/misc/pci.ids:" ${i} || die
- done
+ sed -i \
+ -e "s:/usr/share/pci.ids:/usr/share/misc/pci.ids:" \
+ update-pciids lspci.8 update-pciids.8 \
+ || die "sed failed"
}
src_install() {
into /
- dosbin setpci lspci pcimodules update-pciids || die
+ dosbin setpci lspci pcimodules update-pciids || die "dosbin failed"
doman *.8
insinto /usr/share/misc