CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
keyutils: aligned with 2.8 branch
authorJose V Beneyto <sepen@crux.nu>
Tue, 25 Jun 2013 09:31:50 +0000 (11:31 +0200)
committerJose V Beneyto <sepen@crux.nu>
Tue, 25 Jun 2013 09:36:57 +0000 (11:36 +0200)
keyutils/Pkgfile

index 45535c879c61631e2174d3c37b1de5c69b395ca9..fa4e55829f16c3d6f85b9b22f6321db3e931a6c9 100644 (file)
@@ -10,9 +10,12 @@ source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2)
 
 build () {
   cd $name-$version
-  # We remove -m32 flag
-  sed "61d" -i Makefile
+
+  # remove -m32 flag
+  sed -i 's|CFLAGS.*-m32$||' Makefile
+
   sed -i "/^MAN[1-9]/s|share/||;/^CFLAGS/s/-g/$CFLAGS/;s|/lib64|/lib|" Makefile
+
   make -j1
   make DESTDIR=$PKG install
 }