aboutsummaryrefslogtreecommitdiff
path: root/office/pdf2djvu
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-18 03:19:16 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-19 12:09:28 +0700
commit2b1a8cd49c3ada5d7262b7d3ab334719ab551ace (patch)
tree5a1ece85dd0cbe6ffb0d74b16d48c3d456618751 /office/pdf2djvu
parent23ff635ce7381df4b27759e271d54a02864d092c (diff)
office/pdf2djvu: Updated for version 0.9.18.2.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pdf2djvu')
-rw-r--r--office/pdf2djvu/pdf2djvu.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/office/pdf2djvu/pdf2djvu.SlackBuild b/office/pdf2djvu/pdf2djvu.SlackBuild
index a65dc49939036..78fdabb85f18d 100644
--- a/office/pdf2djvu/pdf2djvu.SlackBuild
+++ b/office/pdf2djvu/pdf2djvu.SlackBuild
@@ -82,6 +82,13 @@ find -L . \
sed -i 's/poppler-splash/poppler/g' configure
+# 20220218 bkw: grrr. no option to disable -Werror, not even by
+# overriding in CFLAGS/CXXFLAGS. for gcc-11.2.0, it doesn't matter,
+# but this future-proofs us against the day post-15.0 -current
+# gets a gcc upgrade:
+sed -i '/-Werror/d' configure.ac
+autoreconf -if
+
# 20220218 bkw: no install-strip target, but this worx.
SLKCFLAGS+=" -Wl,-s"
@@ -98,8 +105,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localedir=/usr/share/locale \
--build=$ARCH-slackware-linux
-make test
make
+make test
make install DESTDIR=$PKG
gzip -9 $PKG/usr/man/{man1,??/man1}/*.1