summaryrefslogtreecommitdiff
path: root/cad/opencascade/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/opencascade/Makefile')
-rw-r--r--cad/opencascade/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index 29bf7a6099a6..dd0530ac92f8 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -2,7 +2,7 @@
PORTNAME= opencascade
PORTVERSION= 7.6.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry
@@ -64,6 +64,12 @@ CMAKE_ARGS+= -DINSTALL_DIR=${OCCROOT} \
-DUSE_RAPIDJSON:BOOL=ON \
-DUSE_VTK:BOOL=ON \
-D3RDPARTY_VTK_INCLUDE_DIR:PATH=${LOCALBASE}/include/vtk-${VTKVER}
+CONFIGURE_ENV+= DESTDIR=${STAGEDIR}
+
+.if defined(MAINTAINER_MODE)
+CMAKE_ARGS+= -DCMAKE_MESSAGE_CONTEXT_SHOW:BOOL=ON \
+ -DCMAKE_MESSAGE_LOG_LEVEL:STRING=DEBUG
+.endif
# TODO: TBB to be replaced by onetbb later
#CMAKE_ARGS+= -DUSE_EIGEN:BOOL=ON -DUSE_TBB:BOOL=ON