aboutsummaryrefslogtreecommitdiff
path: root/cad/gmsh
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-02-13 08:26:46 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-02-13 08:26:46 +0000
commitd5060c3d3c8a23077d6149f7b550b1438382e74a (patch)
treed33d21bb8f483a8b7b762a54d2241391fa73437a /cad/gmsh
parent0e6f157b7f919e002d0fe3b60b7d47663e7eadec (diff)
downloadports-d5060c3d3c8a23077d6149f7b550b1438382e74a.tar.gz
ports-d5060c3d3c8a23077d6149f7b550b1438382e74a.zip
Do not depend on TAUCS by default, to unbreak Code_Aster.
PR: ports/143820 Approved by: maintainer
Notes
Notes: svn path=/head/; revision=249748
Diffstat (limited to 'cad/gmsh')
-rw-r--r--cad/gmsh/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 8a98c1350f9b..9fccc2b51171 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -62,10 +62,10 @@ CMAKE_ARGS+= -DENABLE_TETGEN=ON
.endif
# Even though the taucs port pulls in the metis port, we will still need
-# WITHOUT_METIS not set when WITHOUT_TAUCS is not set, otherwise the linker
+# WITHOUT_METIS not set when WITH_TAUCS is set, otherwise the linker
# does not find the libraries installed by the metis port.
-.if !defined(WITHOUT_TAUCS) && defined(WITHOUT_METIS)
-IGNORE= requires that WITHOUT_METIS is not set if WITHOUT_TAUCS is not set
+.if defined(WITH_TAUCS) && defined(WITHOUT_METIS)
+IGNORE= requires that WITHOUT_METIS is not set if WITH_TAUCS is set
.endif
.if !defined(WITHOUT_METIS)
@@ -80,7 +80,7 @@ CMAKE_ARGS+= -DENABLE_METIS=OFF
PLIST_SUB+= METIS="@comment "
.endif
-.if !defined(WITHOUT_TAUCS)
+.if defined(WITH_TAUCS)
LIB_DEPENDS+= taucs.1:${PORTSDIR}/math/taucs
CMAKE_ARGS+= -DENABLE_TAUCS=ON
.else
@@ -132,8 +132,8 @@ pre-everything::
@${ECHO_MSG} "3D mesh generator."
@${ECHO_MSG} ""
.endif
-.if !defined(WITHOUT_TAUCS)
- @${ECHO_MSG} "Define WITHOUT_TAUCS to disable the Taucs linear algebra solver."
+.if !defined(WITH_TAUCS)
+ @${ECHO_MSG} "Define WITH_TAUCS to enable the Taucs linear algebra solver."
@${ECHO_MSG} ""
.endif
.if !defined(WITHOUT_MED)
@@ -182,7 +182,7 @@ post-extract:
@${ECHO} "http://glaros.dtc.umn.edu/gkhome/metis/metis/faq?q=metis/metis/faq#distribute" >> ${PKGMESSAGE}
@${ECHO} "\"A Fast and Highly Quality Multilevel Scheme for Partitioning Irregular Graphs\". George Karypis and Vipin Kumar. SIAM Journal on Scientific Computing, Vol. 20, No. 1, pp. 359-392, 1999." >> ${PKGMESSAGE}
.endif
-.if !defined(WITHOUT_TAUCS)
+.if defined(WITH_TAUCS)
@${ECHO} >> ${PKGMESSAGE}
@${ECHO} "There might be licensing issues with using Taucs with Gmsh" >> ${PKGMESSAGE}
@${ECHO} "because Taucs requires Metis." >> ${PKGMESSAGE}