aboutsummaryrefslogtreecommitdiff
path: root/development/slibtool/slibtool.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-07-16 19:52:46 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-17 07:15:42 +0700
commitcb8db2ed5c976d978054c134004c6ea1a3974d6c (patch)
treeb4bfa3f4b685c8e2ed19542de9eb3cfd47b74fdf /development/slibtool/slibtool.SlackBuild
parentaf75a4ef9385db8991753dcf7130bab4f3a60a1d (diff)
development/slibtool: Updated for version 0.5.24.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/slibtool/slibtool.SlackBuild')
-rw-r--r--development/slibtool/slibtool.SlackBuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/development/slibtool/slibtool.SlackBuild b/development/slibtool/slibtool.SlackBuild
index f9ea997be9aa0..db9512673ba89 100644
--- a/development/slibtool/slibtool.SlackBuild
+++ b/development/slibtool/slibtool.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slibtool
-VERSION=${VERSION:-0.5.21}
+VERSION=${VERSION:-0.5.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,12 +72,27 @@ find -L . \
[ "${DEBUG:=0}" != 0 ] && \
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
+# Fix build with sandbox
+# https://bugs.gentoo.org/656184
+# slbt_adjust_linker_argument(): properly handle explicit .a/.so arguments.
+# slbt_adjust_linker_argument(): process dependencies also for non-pic .la args.
+# slbt_adjust_linker_argument(): properly handle external archives and libraries.
+# whitespace meditation.
+# link mode: properly handle explicit archive input arguments.
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=6a1ae75038ff6d45ff3c7bbd4ef090798545e617
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=2a0acb3d2d178cce84d511b727e1410ebb8dbce5
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=ba8a741ee5b66da5a2d44c1c9b9f6eb6d54e0b18
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=6185379aed8fab5a5d230e4a828258c6a5516743
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=46aa6f554c0f2ef1affa5ae292fffec6907ff4b3
+zcat $CWD/sandbox.patch.gz | patch -p1
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
--enable-shared \
+ --pkgdurl='http://slackbuilds.org/apps/slibtool/' \
--build=$ARCH-slackware-linux
make