aboutsummaryrefslogtreecommitdiff
path: root/cad/netgen
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-22 21:09:31 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-22 21:09:31 +0000
commita9617020442cc1f659238470a13871a141ef0eae (patch)
tree0fad0f30f958c95decc8c6e496deb680a9eed3a2 /cad/netgen
parentb5e3a4a0f6235ec451536ec05ca6b4fccbdc54ab (diff)
downloadports-a9617020442cc1f659238470a13871a141ef0eae.tar.gz
ports-a9617020442cc1f659238470a13871a141ef0eae.zip
Notes
Diffstat (limited to 'cad/netgen')
-rw-r--r--cad/netgen/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile
index 1ca6ba0f83d1..29dd4e4a963a 100644
--- a/cad/netgen/Makefile
+++ b/cad/netgen/Makefile
@@ -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
@@ -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