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)
This commit is contained in:
parent
afe585468a
commit
6693a16b59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207783
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue