aboutsummaryrefslogtreecommitdiff
path: root/libraries/squish
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-05 07:19:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-05 07:19:18 +0700
commit2105717586c8af395ef39bb42d1ed564f2bcc36c (patch)
treee49dc15630a3c79c690728e98c532256442f52bc /libraries/squish
parentb7c767c0c9a93537b18cd0f850b634560d91374a (diff)
libraries/squish: Only apply patch for x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/squish')
-rw-r--r--libraries/squish/squish.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/squish/squish.SlackBuild b/libraries/squish/squish.SlackBuild
index 9391ab56d089..9d4eebfbfb10 100644
--- a/libraries/squish/squish.SlackBuild
+++ b/libraries/squish/squish.SlackBuild
@@ -75,7 +75,10 @@ find -L . \
# respect $LIBDIRSUFFIX
sed -i "s|\ lib$| lib$LIBDIRSUFFIX|" CMakeLists.txt
-patch < $CWD/squish.patch
+if [ "$ARCH" != "x86_64" ]; then
+ patch < $CWD/squish.patch
+fi
+
# we build squish statically, as it's the most common use
mkdir -p build
cd build