tlibattr: more patches for musl - mkports - recipes for building multiple softwares with mk(1)
HTML git clone git://z3bra.org/mkports
DIR Log
DIR Files
DIR Refs
---
DIR commit e1c1b6ce296aedfc18d702f5de9be9bf47b9992f
DIR parent 73b0817fa057b79194bc4319bdfda3751b45134f
HTML Author: z3bra <contactatz3bradotorg>
Date: Thu, 26 Jan 2017 18:32:31 +0000
libattr: more patches for musl
Diffstat:
M libattr/mkfile | 8 +++++---
D libattr/patches/config.sub-musl.di… | 21 ---------------------
A libattr/patches/no-zipped-manpages… | 11 +++++++++++
3 files changed, 16 insertions(+), 24 deletions(-)
---
DIR diff --git a/libattr/mkfile b/libattr/mkfile
t@@ -11,14 +11,16 @@ DEBUG = -DNDEBUG
CONFIGURE = $CONFIGURE \
--exec-prefix=/ \
--libexecdir=/lib \
+ --enable-lib64=yes \
--disable-gettext
build:QV: fetch patch
cd $WORK/$pkg-$ver
- test -f configure && ./configure $CONFIGURE
- make CC="$CC"
+ unset PLATFORM
+ ./configure $CONFIGURE
+ make -j1
install:QV: build
mkdir -p $destdir
cd $WORK/$pkg-$ver
- make DIST_ROOT=$destdir install install-lib install-dev
+ make DESTDIR=$destdir install install-lib install-dev
DIR diff --git a/libattr/patches/config.sub-musl.diff b/libattr/patches/config.sub-musl.diff
t@@ -1,21 +0,0 @@
-diff -urN a/config.sub b/config.sub
---- a/config.sub 2013-05-19 16:15:03.000000000 +0200
-+++ b/config.sub 2016-11-30 08:39:28.314082214 +0100
-@@ -122,7 +122,7 @@
- # Here we must recognize all the valid KERNEL-OS combinations.
- maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
- case $maybe_os in
-- nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
-+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | linux-musl* | \
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
- knetbsd*-gnu* | netbsd*-gnu* | \
- kopensolaris*-gnu* | \
-@@ -1360,7 +1360,7 @@
- | -chorusos* | -chorusrdb* | -cegcc* \
- | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-android* \
-- | -linux-newlib* | -linux-uclibc* \
-+ | -linux-newlib* | -linux-uclibc* | -linux-musl* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
DIR diff --git a/libattr/patches/no-zipped-manpages.diff b/libattr/patches/no-zipped-manpages.diff
t@@ -0,0 +1,11 @@
+--- a/include/builddefs.in
++++ b/include/builddefs.in
+@@ -73,7 +73,7 @@
+ ENABLE_SHARED = @enable_shared@
+ ENABLE_GETTEXT = @enable_gettext@
+
+-HAVE_ZIPPED_MANPAGES = @have_zipped_manpages@
++HAVE_ZIPPED_MANPAGES =false
+
+ ifneq "$(findstring $(PKG_PLATFORM), linux gnu gnu/kfreebsd gnu/knetbsd)" ""
+ PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64