diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2012-10-04 22:35:32 +0200 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-10-07 09:16:15 -0400 |
commit | 01426778b5bab6327c53420b77ea8bf98a37b388 (patch) | |
tree | cece77e96a2657d5d7ddb8e2d2e342126a5280aa /office/mupdf/mupdf.SlackBuild | |
parent | c0c7bb01c9d784d103b61c5eeb7a0f2cd40f1a0a (diff) |
office/mupdf: Fix building against openjpeg.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'office/mupdf/mupdf.SlackBuild')
-rw-r--r-- | office/mupdf/mupdf.SlackBuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index 9321e92eca5dc..608b81cb1bae6 100644 --- a/office/mupdf/mupdf.SlackBuild +++ b/office/mupdf/mupdf.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=mupdf VERSION=${VERSION:-1.1} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -35,7 +35,7 @@ else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -51,7 +51,6 @@ find . \ -exec chmod 644 {} \; sed -i "s,(prefix)/lib,(prefix)/lib$LIBDIRSUFFIX," Makefile -sed -i "s,openjpeg.h,openjpeg-1.5/openjpeg.h," fitz/image_jpx.c CFLAGS="$SLKCFLAGS" make build=release prefix=/usr make build=release prefix=$PKG/usr install |