-9cf248c0d26a7bc81354364474453618 pkgmk.conf.patch
-04ebdfa4470db3d7cf56d6b1e25cd31e pkgutils-5.35.5.tar.gz
+51c040b3081c750b321f0fe159c0f9a1 pkgmk.conf.patch
+5f4ba23340492548ebf58b0ce7109e69 pkgutils-5.35.6.tar.gz
# 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 -p0 -i $SRC/pkgmk.conf.patch
+ sed -i -e "s|\--static||g" -e "s|\-static||g" Makefile
+ make DESTDIR=$PKG install
}
---- pkgutils-5.35.3/pkgmk.conf.orig 2013-09-18 11:23:48.856285249 +0200
-+++ pkgutils-5.35.3/pkgmk.conf 2013-09-18 11:27:02.616284373 +0200
-@@ -2,8 +2,9 @@
+--- pkgmk.conf.orig 2014-10-16 15:59:34.057394811 +0000
++++ pkgmk.conf 2014-10-16 16:00:18.437371591 +0000
+@@ -2,9 +2,8 @@
# /etc/pkgmk.conf: pkgmk(8) configuration
#
-export CFLAGS="-O2 -march=x86-64 -pipe"
+-export CXXFLAGS="${CFLAGS}"
+-
+export CFLAGS="-O2 -pipe -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4"
- export CXXFLAGS="${CFLAGS}"
-+export MAKEFLAGS=""
++export CXXFLAGS="$CFLAGS"
+ # export MAKEFLAGS="-j2"
case ${PKGMK_ARCH} in
- "64")