CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: updated with j_v patch to avoid host pam build
[crossrootfs.git] / libcap / Pkgfile
index 47f13b01a5ce601b4561ff5ac59815b50438b63a..8a1037f18d13631815fe1d1fa8e6981793e0f966 100644 (file)
@@ -6,7 +6,7 @@
 
 name=libcap
 version=2.24
-release=1
+release=2
 source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz)
 
 build () {
@@ -14,8 +14,8 @@ build () {
 
   sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules 
 
-  make CC="$CC" BUILD_CC="gcc" BUILD_CFLAGS="-O2 -pipe"
-  make RAISE_SETFCAP=no DESTDIR=$PKG man_prefix=/usr install
+  make CC="$CC" BUILD_CC="gcc" BUILD_CFLAGS="-O2 -pipe" PAM_CAP=no
+  make RAISE_SETFCAP=no PAM_CAP=no DESTDIR=$PKG man_prefix=/usr/share install
 
   install -d $PKG/usr/lib
   mv $PKG/lib/libcap.a $PKG/usr/lib