CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgutils: updated to 5.35.6
[ports/efikamx-arm.git] / pkgutils / Pkgfile
index 7f2bc4abae5e179bd87f3a03a0c383131e2af6ae..948ee6a52f8ab2aaa0c704e6824d1f94299f8aca 100644 (file)
@@ -5,13 +5,14 @@
 # Depends on: libarchive
 
 name=pkgutils
-version=5.35.5
+version=5.35.6
 release=1
 source=(http://crux.nu/files/$name-$version.tar.gz \
         pkgmk.conf.patch)
 
 build () {
-       cd $name-$version
-       patch -p1 -i $SRC/pkgmk.conf.patch
-       make DESTDIR=$PKG install
+  cd $name-$version
+  patch -p1 -i $SRC/pkgmk.conf.patch
+  sed -i -e "s|\--static||g" -e "s|\-static||g" Makefile
+  make DESTDIR=$PKG install
 }