From 542fc0df15a2babbf2892400e1d9d24b3b9d5612 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sun, 23 Aug 2009 20:07:35 +0200 Subject: Maj de pciutils pour la compile de kdebase dans la 64 bits --- base/pciutils/Pkgfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'base/pciutils') 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 -- cgit v1.2.3-70-g09d2