diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-31 04:31:35 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-03 10:38:35 +0700 |
commit | bad0abe9f04527b4c911e4b9056e8caece650848 (patch) | |
tree | 92d37d9951d5db0e0d8c8420b440ac17dd3eba84 | |
parent | a2aa0fe879533af7e5a0d756cbeca9ad058cd521 (diff) |
office/mupdf: Actually use SLKCFLAGS.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 ea13d0a46198..488963b21108 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 |