svn commit: r532973 - head/cad/opencascade
Thierry Thomas
thierry at FreeBSD.org
Sat Apr 25 20:25:27 UTC 2020
Author: thierry
Date: Sat Apr 25 20:25:27 2020
New Revision: 532973
URL: https://svnweb.freebsd.org/changeset/ports/532973
Log:
Really switch to VTK8.
Pro-tip: cmake and qmake are two build systems, do not mix them together,
or this could produce unexpected results.
Modified:
head/cad/opencascade/Makefile
Modified: head/cad/opencascade/Makefile
==============================================================================
--- head/cad/opencascade/Makefile Sat Apr 25 19:43:59 2020 (r532972)
+++ head/cad/opencascade/Makefile Sat Apr 25 20:25:27 2020 (r532973)
@@ -3,7 +3,7 @@
PORTNAME= opencascade
PORTVERSION= 7.4.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry
@@ -15,8 +15,10 @@ LICENSE_NAME= LGPL21 with exception
LICENSE_FILE= ${WRKSRC}/OCCT_LGPL_EXCEPTION.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+BUILD_DEPENDS= ${LOCALBASE}/lib/qt5/bin/qmake:devel/qt5-qmake \
+ ${LOCALBASE}/lib/qt5/bin/moc:devel/qt5-buildtools
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
- libvtksys-${VTKVER}.so:math/vtk6 \
+ libvtksys-${VTKVER}.so:math/vtk8 \
libfreetype.so:print/freetype2 \
libtbb.so:devel/tbb
RUN_DEPENDS= bash:shells/bash
@@ -24,7 +26,7 @@ RUN_DEPENDS= bash:shells/bash
# Check ${WRKSRC}/dox/overview/overview.md
# and ${WRKSRC}/dox/dev_guides/building
USES= alias:10 cmake compiler:c++14-lang dos2unix \
- gl python shebangfix tk tar:tgz xorg
+ gl python qt:5 shebangfix tk tar:tgz xorg
USE_XORG= ice sm x11 xext xi xmu xt
USE_GL= gl glu
@@ -37,7 +39,7 @@ SHEBANG_FILES= adm/templates/*.sh \
gendoc
ENVSH= adm/templates/env.sh
-VTKVER= 6.2
+VTKVER= 8.1
OPTIONS_DEFINE= DOCS DOXYGEN FFMPEG VIS
VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps)
More information about the svn-ports-head
mailing list