aboutsummaryrefslogtreecommitdiff
path: root/cad/gmsh/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2008-02-23 11:12:53 +0000
committerThierry Thomas <thierry@FreeBSD.org>2008-02-23 11:12:53 +0000
commit6693a16b59670a216ccb9c9d6e49981d24d7e85a (patch)
tree538511d34844b2a17dc797694a1bf3840967adcd /cad/gmsh/Makefile
parentafe585468a9f8bca9e1bc8569f625e9bdb265bde (diff)
downloadports-6693a16b59670a216ccb9c9d6e49981d24d7e85a.tar.gz
ports-6693a16b59670a216ccb9c9d6e49981d24d7e85a.zip
Notes
Diffstat (limited to 'cad/gmsh/Makefile')
-rw-r--r--cad/gmsh/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 69cd1614e6ab..ded5138ae4bb 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -40,7 +40,7 @@ CONFIGURE_ARGS= --with-fltk-prefix=${X11BASE} \
--with-png-prefix=${LOCALBASE}
ALL_TARGET= all utils
-.if !defined(WITHOUT_HDF5) && !defined(WITHOUT_OCC)
+.if !defined(WITHOUT_HDF5) && defined(WITH_OCC)
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
.endif
@@ -65,7 +65,7 @@ CONFIGURE_ARGS+= --enable-cgns --with-cgns-prefix=${LOCALBASE}
CONFIGURE_ARGS+= --disable-cgns
.endif
-.if !defined(WITHOUT_OCC)
+.if defined(WITH_OCC)
LIB_DEPENDS+= TKernel.0:${PORTSDIR}/cad/opencascade
CONFIGURE_ARGS+= --enable-occ --with-occ-prefix=${LOCALBASE}/OpenCAS/ros
CONFIGURE_ENV+= ARCH="${ARCH}"
@@ -102,8 +102,8 @@ pre-everything::
@${ECHO_MSG} "Define WITHOUT_CGNS to disable CGNS support."
@${ECHO_MSG} ""
.endif
-.if !defined(WITHOUT_OCC)
- @${ECHO_MSG} "Define WITHOUT_OCC to disable STEP, IGES and BREP support"
+.if !defined(WITH_OCC)
+ @${ECHO_MSG} "Define WITH_OCC to enable STEP, IGES and BREP support"
@${ECHO_MSG} "(through OpenCascade)."
@${ECHO_MSG} ""
.endif