summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
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