From f9f61863444b819f571ff6054ab675e028aac897 Mon Sep 17 00:00:00 2001 From: Ørjan Malde Date: Apr 25 2020 17:21:26 +0000 Subject: apr: properly support building shared libraries Signed-off-by: Lucio Andrés Illanes Albornoz --- diff --git a/groups/231.native_packages_etc.group b/groups/231.native_packages_etc.group index 316b7d3..35c8ab8 100644 --- a/groups/231.native_packages_etc.group +++ b/groups/231.native_packages_etc.group @@ -19,7 +19,7 @@ zstd")"; : ${PKG_APR_SHA256SUM:=a67ca9fcf9c4ff59bce7f428a323c8b5e18667fdea7b0ebad47d194371b0a105}; : ${PKG_APR_VERSION:=1.6.5}; : ${PKG_APR_URL:=http://ftp.fau.de/apache/apr/apr-${PKG_APR_VERSION}.tar.bz2}; -: ${PKG_APR_NO_CLEAN:=1}; +: ${PKG_APR_LIBTOOL:=rdlibtool}; : ${PKG_APR_UTIL_DEPENDS:="apr expat sqlite3"}; : ${PKG_APR_UTIL_SHA256SUM:=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b}; : ${PKG_APR_UTIL_VERSION:=1.6.1}; diff --git a/patches/apr-1.6.5_pre.local.patch b/patches/apr-1.6.5_pre.local.patch new file mode 100644 index 0000000..ae8e690 --- /dev/null +++ b/patches/apr-1.6.5_pre.local.patch @@ -0,0 +1,21 @@ +diff -ru apr-1.6.5.orig/configure apr-1.6.5/configure +--- apr-1.6.5.orig/configure 2018-09-10 23:14:53.000000000 +0200 ++++ apr-1.6.5/configure 2020-04-25 19:12:30.858759347 +0200 +@@ -17277,6 +17277,16 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++midipix*) ++ version_type=linux # correct to gnu/linux during the next big refactor ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ++ soname_spec='$libname$release$shared_ext$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +