summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Richard Ellis <rellis@dp100.com>2024-08-19 14:17:04 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-19 14:22:30 +0700
commit668f21decd19ba861c5b367b13c9d74a44723dce (patch)
tree440b213e5bb77834cb78f5738ac3f7f93799b9bf /libraries
parent8f354ec1541c58d3630437cfc3d08e8e5a29fed0 (diff)
downloadslackbuilds-668f21decd19ba861c5b367b13c9d74a44723dce.tar.gz
slackbuilds-668f21decd19ba861c5b367b13c9d74a44723dce.tar.xz
libraries/tkimg: Fix build failure.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/tkimg/tkimg.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/tkimg/tkimg.SlackBuild b/libraries/tkimg/tkimg.SlackBuild
index aa9a1318c5..0e55fd2a13 100644
--- a/libraries/tkimg/tkimg.SlackBuild
+++ b/libraries/tkimg/tkimg.SlackBuild
@@ -81,6 +81,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make distclean
+# Disable JBIG support (if left enabled then the build will fail with a
+# link error for JBIG iff the Slackbuilds jbigkit is already installed
+# before building tkimg). Note that the result is no JBIG support, but
+# there is no JBIG support from a normal build of tkimg if jbigkit is
+# not preinstalled. sed command courtesy of B. Watson <urchlay@slackware.uk>
+sed -i 's,--disable-pixarlog,& --disable-jbig,' libtiff/configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \