aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cad/gmsh-occ/Makefile1
-rw-r--r--cad/gmsh/Makefile3
2 files changed, 2 insertions, 2 deletions
diff --git a/cad/gmsh-occ/Makefile b/cad/gmsh-occ/Makefile
index 07f769e43cbb..1981815d9618 100644
--- a/cad/gmsh-occ/Makefile
+++ b/cad/gmsh-occ/Makefile
@@ -13,5 +13,4 @@ MASTERDIR= ${.CURDIR}/../../cad/gmsh
WITH_OCC= yes
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 46d33d1066cd..a5b28cc26b71 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gmsh
PORTVERSION= 2.8.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= cad
MASTER_SITES= http://www.geuz.org/gmsh/src/ \
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
@@ -109,6 +109,7 @@ CMAKE_ARGS+= -DENABLE_GMM=OFF
.if defined(WITH_OCC)
LIB_DEPENDS+= libTKernel.so:${PORTSDIR}/cad/opencascade
CMAKE_ARGS+= -DENABLE_OCC=ON -DOCC_INC=${LOCALBASE}/include/OpenCASCADE
+CFLAGS+= -DHAVE_CONFIG_H -DHAVE_WOK_CONFIG_H -DFREEBSD
CONFLICTS= gmsh-2.*
.else
CMAKE_ARGS+= -DENABLE_OCC=OFF