graphics/OpenCASCADE: Fixed for VTK-7.1.0.

Thanks to Chris Willing.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-11-17 17:06:49 +00:00 committed by Willy Sudiarto Raharjo
parent 5c0a466b6f
commit 826423d853
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 3 additions and 1 deletions

View File

@ -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' \