diff options
author | B. Watson <yalhcru@gmail.com> | 2015-09-15 02:18:20 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-19 19:49:19 +0700 |
commit | 10d948d61887bf64268a27eee776b485d711696e (patch) | |
tree | 8eeabc1e3313f586b7f4aeff0d6987df229faa9c /office/mupdf/mupdf.SlackBuild | |
parent | 148c9aaf51e171b33c23c12e3e65e03f099bce78 (diff) | |
download | slackbuilds-10d948d61887bf64268a27eee776b485d711696e.tar.gz |
office/mupdf: Fix build with jbig2dec-0.12
Diffstat (limited to 'office/mupdf/mupdf.SlackBuild')
-rw-r--r-- | office/mupdf/mupdf.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index 57c2a7627f..5f228359ad 100644 --- a/office/mupdf/mupdf.SlackBuild +++ b/office/mupdf/mupdf.SlackBuild @@ -5,6 +5,9 @@ # Originally written by Hubert Hesse (slackbuilds@hubertscorner.de). # Heavily modified by B. Watson (yalhcru@gmail.com). +# 20150915 bkw BUILD=2: +# - add -DJBIG_NO_MEMENTO, needed for building with jbig2dec-0.12. + # 20150511 bkw: # - version bump to 1.7a. # - remembered to reset BUILD to 1, yay. @@ -69,7 +72,7 @@ PRGNAM=mupdf VERSION=${VERSION:-1.7a} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -144,7 +147,7 @@ sed -i 's,libopenjpeg1,libopenjp2,g' Makerules # it and spewing harmless but scary 'fatal: Not a git repository' errors. sed -i "/^VERSION/s,=.*,= $VERSION," Makefile -make build=release prefix=/usr XCFLAGS="$SLKCFLAGS" +make build=release prefix=/usr XCFLAGS="$SLKCFLAGS -DJBIG_NO_MEMENTO" make \ build=release \ prefix=/usr \ |