summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rwxr-xr-xbase/pciutils/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/base/pciutils/Pkgfile b/base/pciutils/Pkgfile
index ca9ae8664..0552788c4 100755
--- a/base/pciutils/Pkgfile
+++ b/base/pciutils/Pkgfile
@@ -6,13 +6,16 @@
name=pciutils
version=3.1.3
-release=1
+release=2
source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.bz2 )
build() {
cd $name-$version
- sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh
+ CFLAGS="${CFLAGS} -fPIC -DPIC"
+ sed -i -e 's/^OPT=.*/OPT=-O2 -pipe -fPIC -DPIC/g' Makefile
+ ./update-pciids.sh
+
make PREFIX=/usr
mkdir -p $PKG/usr/share/man
mkdir -p $PKG/usr/lib