diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-11-17 17:06:49 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-19 07:31:28 +0700 |
commit | 826423d85307b8e94b11523596ae75c374688505 (patch) | |
tree | 75fbdb6145f26ec849d32bc1abcab75cc1e7af32 /graphics/OpenCASCADE | |
parent | 5c0a466b6f37a414955b650d84df5317eab9ed19 (diff) |
graphics/OpenCASCADE: Fixed for VTK-7.1.0.
Thanks to Chris Willing.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/OpenCASCADE')
-rw-r--r-- | graphics/OpenCASCADE/OpenCASCADE.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild index 881465f9dedb5..df22114511f70 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' \ |