summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
index 881465f9de..df22114511 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
+++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=OpenCASCADE
VERSION=${VERSION:-6.9.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=$(echo $PRGNAM | tr '[:upper:]' '[:lower:]')
@@ -74,10 +74,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Update automake config, and de-version the VTK sonames
+# (* Note, VTK 7.1.0 is now required *)
sed -i \
-e 's/INCLUDES =/AM_CPPFLAGS =/' \
adm/lin/amk/*/Makefile.am
sed -i \
+ -e 's/vtkRenderingOpenGL/vtkRenderingOpenGL2/g' \
-e 's/AM_INIT_AUTOMAKE(\[foreign])/AM_INIT_AUTOMAKE([foreign subdir-objects])/' \
-e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \
-e '/CSF_VTK_LIB/s/-6\.1//g' \