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:
parent
5c0a466b6f
commit
826423d853
|
@ -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' \
|
||||
|
|
Loading…
Reference in New Issue