aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gmsh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gmsh/Makefile')
-rw-r--r--cad/gmsh/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 4bad76181e9f..b4731ad02667 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gmsh
-PORTVERSION= 1.56.3
+PORTVERSION= 1.57.0
CATEGORIES= cad
MASTER_SITES= http://www.geuz.org/gmsh/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -45,6 +45,12 @@ MAN1= gmsh.1
NO_CDROM= Triangle must not be sold for profit
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+CONFIGURE_ARGS+= --disable-netgen # Problem with Netgen & gcc-295
+.endif
+
post-extract:
.if !defined(WITHOUT_TRIANGLE)
${CP} `cd ${TRIANGLE_PORTDIR}; ${MAKE} -V WRKSRC`/triangle.* ${WRKSRC}/Triangle
@@ -71,4 +77,4 @@ do-install:
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>