diff options
Diffstat (limited to 'office/mupdf')
-rw-r--r-- | office/mupdf/mupdf.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index ea13d0a461..488963b211 100644 --- a/office/mupdf/mupdf.SlackBuild +++ b/office/mupdf/mupdf.SlackBuild @@ -7,6 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230531 bkw: BUILD=2, actually use SLKCFLAGS. # 20230117 bkw: update for 1.21.1. # - Again, this script can't build older versions. # - There's a gumbo-parser SlackBuild now, so build with it instead of @@ -62,7 +63,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mupdf VERSION=${VERSION:-1.21.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -134,6 +135,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # it and spewing harmless but scary 'fatal: Not a git repository' errors. sed -i "/^VERSION/s,=.*,= $VERSION," Makefile +# 20230531 bkw: derp. Never did apply the flags... +sed -i "s,-O2,$SLKCFLAGS," Makerules + # As of 1.18.0, we don't actually have to patch the Makefile # to do a versioned shared lib, but we do have to override some # variables. SOMAJOR is the mupdf major and zero-padded minor version |