mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
office/mupdf: Fix building against openjpeg.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
c0c7bb01c9
commit
01426778b5
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue