summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-23 20:07:35 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-23 20:07:35 +0200
commit542fc0df15a2babbf2892400e1d9d24b3b9d5612 (patch)
treea1c5ce21b75a970f4205563fb7d580e70451d2c0 /base
parent54136221e6b2b652f3fbeff948d53c1d61abca35 (diff)
downloadnutyx-pakxe-542fc0df15a2babbf2892400e1d9d24b3b9d5612.tar.gz
nutyx-pakxe-542fc0df15a2babbf2892400e1d9d24b3b9d5612.tar.bz2
nutyx-pakxe-542fc0df15a2babbf2892400e1d9d24b3b9d5612.tar.xz
nutyx-pakxe-542fc0df15a2babbf2892400e1d9d24b3b9d5612.zip
Maj de pciutils pour la compile de kdebase dans la 64 bits
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