CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgutils: better compiler flags stuff
authorJose V Beneyto <sepen@crux.nu>
Thu, 21 Jul 2011 10:29:40 +0000 (12:29 +0200)
committerJose V Beneyto <sepen@crux.nu>
Thu, 21 Jul 2011 10:29:40 +0000 (12:29 +0200)
pkgutils/.md5sum
pkgutils/Pkgfile

index d90906fd7a73313141013d735ee1b452760b914c..03a6809179776f63222c4bba5a97f678ea2fdcf5 100644 (file)
@@ -1 +1,2 @@
+55d3d1f3be517392bb023e20d9428c7c  pkgmk.conf.patch
 6cdd43fce5e8da4d4256e24e24c6556f  pkgutils-5.35.1.tar.gz
index 50eb2c134707b90525fa129138eeee701c6bd1fa..d77469d1a18c6ff21b45a9e3e51281d64911adb3 100644 (file)
@@ -6,10 +6,11 @@
 name=pkgutils
 version=5.35.1
 release=2
-source=(http://crux.nu/files/$name-$version.tar.gz)
+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
-       sed 's|FLAGS=.*|FLAGS="-O2 -pipe"|' -i $PKG/etc/pkgmk.conf
 }