summaryrefslogtreecommitdiffstats
path: root/source/l/libarchive/libarchive.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-12-18 20:58:52 +0000
committer Eric Hameleers <alien@slackware.com>2022-12-18 22:33:11 +0100
commit57959418015d2328d4c126c8a06068c84c83c1c3 (patch)
tree449079fb624743fa4d03691b104cfe0eef7decdf /source/l/libarchive/libarchive.SlackBuild
parent2d0cd9a826e7c8a49d6ab7af9c92f3a8049616bb (diff)
downloadcurrent-57959418015d2328d4c126c8a06068c84c83c1c3.tar.gz
current-57959418015d2328d4c126c8a06068c84c83c1c3.tar.xz
Sun Dec 18 20:58:52 UTC 202220221218205852
l/imagemagick-7.1.0_55-x86_64-2.txz: Rebuilt. Rebuilt to fix dng.so module that was mistakenly compiled against the new LibRaw that we don't yet include.
Diffstat (limited to 'source/l/libarchive/libarchive.SlackBuild')
-rwxr-xr-xsource/l/libarchive/libarchive.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/l/libarchive/libarchive.SlackBuild b/source/l/libarchive/libarchive.SlackBuild
index 3e11fa64a..0d264d407 100755
--- a/source/l/libarchive/libarchive.SlackBuild
+++ b/source/l/libarchive/libarchive.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libarchive
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -96,6 +96,9 @@ make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Don't list iconv in libarchive.pc:
+sed -i "s/iconv //" $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libarchive.pc
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null