From 5a782c6a3c690e639710f66074d2ddf6ee72ef33 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 22 Oct 2008 21:09:31 +0000 Subject: - Make so it doesn't depend on [broken] cad/opencascade be default PR: 128063 Submitted by: Stephen Montgomery-Smith --- cad/netgen/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cad') 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 -- cgit 'this.form.submit();'> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines