diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2008-02-23 11:12:53 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2008-02-23 11:12:53 +0000 |
commit | 6693a16b59670a216ccb9c9d6e49981d24d7e85a (patch) | |
tree | 538511d34844b2a17dc797694a1bf3840967adcd /cad | |
parent | afe585468a9f8bca9e1bc8569f625e9bdb265bde (diff) | |
download | ports-6693a16b59670a216ccb9c9d6e49981d24d7e85a.tar.gz ports-6693a16b59670a216ccb9c9d6e49981d24d7e85a.zip |
Temporarily replace WITHOUT_OCC by WITH_OCC, to make it packageable.
Don't bump PORTREVISION: if your gmsh has been built with OpenCascade
support, keep it.
(To be reverted after OpenCascade's unbreak)
Notes
Notes:
svn path=/head/; revision=207783
Diffstat (limited to 'cad')
-rw-r--r-- | cad/gmsh/Makefile | 8 |
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 |