diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-10-23 05:09:31 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-10-23 05:09:31 +0800 |
commit | 5a782c6a3c690e639710f66074d2ddf6ee72ef33 (patch) | |
tree | e9f0c5ba979a566a03972d4cb8307d10415b3b88 /cad | |
parent | 1d36027ae0d00c75538fedb0269d707f1b9b2810 (diff) | |
download | freebsd-ports-gnome-5a782c6a3c690e639710f66074d2ddf6ee72ef33.tar.gz freebsd-ports-gnome-5a782c6a3c690e639710f66074d2ddf6ee72ef33.tar.zst freebsd-ports-gnome-5a782c6a3c690e639710f66074d2ddf6ee72ef33.zip |
- Make so it doesn't depend on [broken] cad/opencascade be default
PR: 128063
Submitted by: Stephen Montgomery-Smith <stephen at math dot missouri dot edu>
Diffstat (limited to 'cad')
-rw-r--r-- | cad/netgen/Makefile | 6 |
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 |