aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-05-07 03:38:43 +0800
committerThierry Thomas <thierry@FreeBSD.org>2014-05-07 03:38:43 +0800
commitd0aca13bf41995031b57504fa6fd4793fb6b7f50 (patch)
treeaf4e75bb9589481ed6cb8b613f96dbc67c19827e /cad
parentcbcf86835c1668d45d59a71560159c0dc741ab35 (diff)
downloadfreebsd-ports-gnome-d0aca13bf41995031b57504fa6fd4793fb6b7f50.tar.gz
freebsd-ports-gnome-d0aca13bf41995031b57504fa6fd4793fb6b7f50.tar.zst
freebsd-ports-gnome-d0aca13bf41995031b57504fa6fd4793fb6b7f50.zip
Chase OpenCascade's upgrade.
Diffstat (limited to 'cad')
-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