[arch-commits] Commit in pciutils/trunk (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Wed Jan 26 21:07:38 UTC 2011
Date: Wednesday, January 26, 2011 @ 16:07:38
Author: tpowa
Revision: 107583
upgpkg: pciutils 3.1.7-3
fix #22286 honor CFLAGS correct
Modified:
pciutils/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-26 21:03:16 UTC (rev 107582)
+++ PKGBUILD 2011-01-26 21:07:38 UTC (rev 107583)
@@ -2,7 +2,7 @@
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=pciutils
pkgver=3.1.7
-pkgrel=2
+pkgrel=3
pkgdesc="PCI bus configuration space access library and tools"
arch=(i686 x86_64)
license=('GPL2')
@@ -16,11 +16,8 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- CFLAGS="${CFLAGS} -fPIC -DPIC"
- sed -i -e 's/^OPT=.*/OPT=-O2 -pipe -fPIC -DPIC/g' Makefile
./update-pciids.sh
-
- make ZLIB=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
+ make OPT="$CFLAGS -fPIC -DPIC" ZLIB=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
}
package() {
More information about the arch-commits
mailing list