CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: fixed AR and RANLIB usage
authorJose V Beneyto <sepen@crux.nu>
Tue, 16 Nov 2010 10:05:38 +0000 (11:05 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 16 Nov 2010 10:05:38 +0000 (11:05 +0100)
libcap/Pkgfile

index c7b9c606cbcc20a3283271bead6eb82f83893543..bba0c946ccdc28b72c804926b8cae1c4ac979f07 100644 (file)
@@ -7,7 +7,7 @@
 
 name=libcap
 version=2.19
-release=1
+release=2
 source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2)
 
 build () {
@@ -16,7 +16,7 @@ build () {
   sed -e '/^CFLAGS :=/s/:/\?/' -e "s|CC := gcc|CC := $CC|g" -i Make.Rules 
   sed -e "s|\$(BUILD_CC)|gcc|g" -i libcap/Makefile
 
-  make
+  make AR="$AR" RANLIB="$RANLIB"
   make DESTDIR=$PKG man_prefix=/usr install
 
   install -d $PKG/usr/lib