aboutsummaryrefslogtreecommitdiff
path: root/development/slibtool
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-08-12 21:56:47 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-18 08:39:46 +0700
commitd9009bf7d11f6cab777274dbf6a49122f5de9ec5 (patch)
treedd81b5257149e6a8d65af5672918434653b91437 /development/slibtool
parent0b033e4dde13bf0ff3371b52c66b470c47925fad (diff)
development/slibtool: Updated for version 0.5.25.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/slibtool')
-rw-r--r--development/slibtool/sandbox.patch.gzbin1851 -> 0 bytes
-rw-r--r--development/slibtool/slibtool.SlackBuild22
-rw-r--r--development/slibtool/slibtool.info6
3 files changed, 9 insertions, 19 deletions
diff --git a/development/slibtool/sandbox.patch.gz b/development/slibtool/sandbox.patch.gz
deleted file mode 100644
index 067ac7a3cd4d..000000000000
--- a/development/slibtool/sandbox.patch.gz
+++ /dev/null
Binary files differ
diff --git a/development/slibtool/slibtool.SlackBuild b/development/slibtool/slibtool.SlackBuild
index db9512673ba8..2b690415d131 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.24}
+VERSION=${VERSION:-0.5.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,32 +72,22 @@ 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/' \
+ --pkgdurl='https://slackbuilds.org/apps/slibtool/' \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+# Due to changes introduced in 0.5.25 this symlink is required as a
+# temporary hack until slibtool no longer needs an external -ar.
+( cd $PKG/usr/bin; ln -s $ARCH-slackware-linux-gcc-ar $ARCH-slackware-linux-ar )
+
if [ "$DEBUG" = 0 ]; then
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/slibtool/slibtool.info b/development/slibtool/slibtool.info
index 0f3a2de4fd37..0994fac1d683 100644
--- a/development/slibtool/slibtool.info
+++ b/development/slibtool/slibtool.info
@@ -1,8 +1,8 @@
PRGNAM="slibtool"
-VERSION="0.5.24"
+VERSION="0.5.25"
HOMEPAGE="https://midipix.org/"
-DOWNLOAD="https://midipix.org/dl/slibtool/slibtool-0.5.24.tar.xz"
-MD5SUM="f5df29d93ccac34e97999b02e0a29c7c"
+DOWNLOAD="https://midipix.org/dl/slibtool/slibtool-0.5.25.tar.xz"
+MD5SUM="3a2c9dbc998569cd2e907adad068d920"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""