summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-01-19 19:16:17 +0000
committerEric Hameleers <alien@slackware.com>2019-01-20 08:59:46 +0100
commit909aa8178495c541c1f8ca0fbf8f2aff5ad5f058 (patch)
treecc456eaab1c22d36920fa8d3b27770f02b5bf4af /source
parentf8d5f8311e58321bd273c482a4e58ab22a7d8300 (diff)
downloadcurrent-909aa8178495c541c1f8ca0fbf8f2aff5ad5f058.tar.gz
Sat Jan 19 19:16:17 UTC 201920190119191617
ap/cups-filters-1.22.0-x86_64-1.txz: Upgraded. d/Cython-0.29.3-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_24-x86_64-1.txz: Upgraded. l/libwebp-1.0.2-x86_64-1.txz: Upgraded. n/ModemManager-1.10.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rw-r--r--source/l/FTBFSlog4
-rwxr-xr-xsource/l/liblastfm/liblastfm.SlackBuild6
2 files changed, 9 insertions, 1 deletions
diff --git a/source/l/FTBFSlog b/source/l/FTBFSlog
index 54f3a273..08c23474 100644
--- a/source/l/FTBFSlog
+++ b/source/l/FTBFSlog
@@ -1,3 +1,7 @@
+Sat Jan 19 18:55:07 UTC 2019
+ liblastfm: use a build directory to fix building with latest cmake.
+ Thanks to nobodino.
++--------------------------+
Sat Jul 28 16:30:36 UTC 2018
glibc: updated gcc version number to 8.2.0 so that --disable-werror is used.
Thanks to ponce and nobodino.
diff --git a/source/l/liblastfm/liblastfm.SlackBuild b/source/l/liblastfm/liblastfm.SlackBuild
index 84601913..15452fc5 100755
--- a/source/l/liblastfm/liblastfm.SlackBuild
+++ b/source/l/liblastfm/liblastfm.SlackBuild
@@ -69,17 +69,21 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+mkdir cmake-build
+cd cmake-build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR="lib${LIBDIRSUFFIX}" \
-DBUILD_FINGERPRINT="ON" \
- -DBUILD_WITH_QT4="ON"
+ -DBUILD_WITH_QT4="ON" .. || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+cd ..
+
if [ -d $PKG/usr/man ]; then
gzip -9 $PKG/usr/man/man?/*
fi