summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/ITK/ITK.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index 325c088efb..70289ee57e 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -73,6 +73,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" CMakeLists.txt
+sed -i "s|/opj_config.h|& \$\{CMAKE_CURRENT_BINARY_DIR\}/openjpeg_mangle.h|" \
+ Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmopenjpeg/src/lib/openjp2/CMakeLists.txt
mkdir -p build
cd build