aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cad/gmsh/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index d547b5ca519a..bb9937421c44 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -21,6 +21,7 @@ LIB_DEPENDS= gsl.7:${PORTSDIR}/math/gsl \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
.if defined(PACKAGE_BUILDING)
+#Triangle and Tetgen are NO_CDROM
WITHOUT_TRIANGLE= yes
WITHOUT_TETGEN= yes
.endif
@@ -49,14 +50,6 @@ ALL_TARGET= all utils
MAN1= gmsh.1
-.if !defined(WITHOUT_TRIANGLE)
-NO_CDROM= "Triangle must not be sold for profit"
-.endif
-
-.if !defined(WITHOUT_TETGEN)
-NO_CDROM+= "Tetgen must not be sold for profit"
-.endif
-
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000