aboutsummaryrefslogtreecommitdiff
path: root/libraries/openjpeg/openjpeg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/openjpeg/openjpeg.SlackBuild')
-rw-r--r--libraries/openjpeg/openjpeg.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/openjpeg/openjpeg.SlackBuild b/libraries/openjpeg/openjpeg.SlackBuild
index 64f60a1437e9b..8c2ffc460c69d 100644
--- a/libraries/openjpeg/openjpeg.SlackBuild
+++ b/libraries/openjpeg/openjpeg.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=openjpeg
VERSION=1.4
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,9 @@ chmod -R u+w,go+r-w,a-s .
# Fix header symlink paths (like upstream svn revision 725)
patch -p1 -i $CWD/openjpeg_fix_header_symlinks.patch
+# Fix unresolved symbols to libm (like upstream svn revision 729)
+patch -p0 -d libopenjpeg -i $CWD/openjpeg_link_libm.patch
+
mkdir -p build
cd build
cmake \
@@ -85,7 +88,7 @@ cd build
-DBUILD_MJ2:BOOL=ON \
-DBUILD_INDEXER_JPIP:BOOL=ON \
..
- make
+ make VERBOSE=1
make install DESTDIR=$PKG
cd -