office/mupdf: Fix building against openjpeg.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2012-10-04 22:35:32 +02:00 committed by dsomero
parent c0c7bb01c9
commit 01426778b5

View file

@ -6,7 +6,7 @@
PRGNAM=mupdf
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -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