aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-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