diff options
author | thierry <thierry@FreeBSD.org> | 2008-02-23 19:12:53 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2008-02-23 19:12:53 +0800 |
commit | bbdef1e470b16f707b168433b1ef90e02454dba6 (patch) | |
tree | 2d72261a0a39bd7516ac9889ded91afc69cc751a /cad/gmsh | |
parent | ab971e30f670751638d8c2879c9253a7c4f939e2 (diff) | |
download | freebsd-ports-gnome-bbdef1e470b16f707b168433b1ef90e02454dba6.tar.gz freebsd-ports-gnome-bbdef1e470b16f707b168433b1ef90e02454dba6.tar.zst freebsd-ports-gnome-bbdef1e470b16f707b168433b1ef90e02454dba6.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)
Diffstat (limited to 'cad/gmsh')
-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 |