diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-06-21 17:21:33 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:36:01 -0500 |
commit | f06b903da26bdf1c821ffa834fdb01e42d5a7ffb (patch) | |
tree | 602d4d947c1b3a14aec6aa2fd6a2302163e69fe4 /libraries/libclaw/libclaw.SlackBuild | |
parent | 6e4d95d2af5aa963e73cef138db4f84f596439d9 (diff) | |
download | slackbuilds-f06b903da26bdf1c821ffa834fdb01e42d5a7ffb.tar.gz |
libraries/libclaw: Patches for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libclaw/libclaw.SlackBuild')
-rw-r--r-- | libraries/libclaw/libclaw.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libclaw/libclaw.SlackBuild b/libraries/libclaw/libclaw.SlackBuild index 1cee1fa691..7b426f6ace 100644 --- a/libraries/libclaw/libclaw.SlackBuild +++ b/libraries/libclaw/libclaw.SlackBuild @@ -69,9 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ "$ARCH" = "x86_64" ]; then - patch -p1 < $CWD/lib.patch -fi +# Apply some patches from fedora +for i in $CWD/patches/*.patch ; do patch -p1 < $i ; done mkdir -p build cd build @@ -79,6 +78,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=$LIBDIRSUFFIX \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG |