From 01426778b5bab6327c53420b77ea8bf98a37b388 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 4 Oct 2012 22:35:32 +0200 Subject: office/mupdf: Fix building against openjpeg. Signed-off-by: Heinz Wiesinger --- office/mupdf/mupdf.SlackBuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'office/mupdf') diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index 9321e92eca..608b81cb1b 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 -- cgit v1.2.3