diff options
Diffstat (limited to 'graphics/darktable/darktable.SlackBuild')
-rw-r--r-- | graphics/darktable/darktable.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild index 4d457313c1..e64af46e91 100644 --- a/graphics/darktable/darktable.SlackBuild +++ b/graphics/darktable/darktable.SlackBuild @@ -68,11 +68,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix openjpeg detection - also set OPENJPEG_INCLUDE_DIR +patch -p1 < $CWD/fix-find-openjpeg.diff + mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man/man1 \ |