libraries/tkimg: Fix build failure.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Richard Ellis 2024-08-19 14:17:04 +07:00 committed by Willy Sudiarto Raharjo
parent 8f354ec154
commit 668f21decd
1 changed files with 6 additions and 0 deletions

View File

@ -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 \