Skip to content

Commit

Permalink
- Make so it doesn't depend on [broken] cad/opencascade be default
Browse files Browse the repository at this point in the history
PR:		128063
Submitted by:	Stephen Montgomery-Smith <stephen at math dot missouri dot edu>
  • Loading branch information
AMDmi3 committed Oct 22, 2008
1 parent 1d36027 commit 5a782c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cad/netgen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ALL_TARGET= ng

FETCH_BEFORE_ARGS+= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}

.if !defined(WITHOUT_OCC)
.if defined(WITH_OCC)
LIB_DEPENDS+= TKernel.0:${PORTSDIR}/cad/opencascade
CXXFLAGS+= -DOCCGEOMETRY -DOCC52 -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -D${ARCH} -I${LOCALBASE}/OpenCAS/ros/inc
.endif
Expand Down Expand Up @@ -56,13 +56,13 @@ BROKEN= internal gcc error (Bug 23159)

pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "Define WITHOUT_OCC if IGES and STEP support is not required."
@${ECHO_MSG} "Define WITH_OCC if IGES and STEP support is required."
@${ECHO_MSG}

pre-configure:
${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \
${WRKSRC}/ngtcltk/ngappinit.cpp
.if !defined(WITHOUT_OCC)
.if defined(WITH_OCC)
${REINPLACE_CMD} -e 's|^# occlib|occlib|;s|-pthread|${PTHREAD_LIBS}|' \
${WRKSRC}/libsrc/makefile.mach.FREEBSD \
${WRKSRC}/Makefile
Expand Down

0 comments on commit 5a782c6

Please sign in to comment.