Date: Mon, 13 Oct 2008 09:58:31 -0500 (CDT) From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/128063: cad/netgen does not build Message-ID: <200810131458.m9DEwVwP036696@cauchy.math.missouri.edu> Resent-Message-ID: <200810131500.m9DF0Cgs052775@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128063 >Category: ports >Synopsis: cad/netgen does not build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Oct 13 15:00:12 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Stephen Montgomery-Smith >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD cauchy 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Wed Sep 17 19:23:36 CDT 2008 stephen@cauchy:/usr/obj/usr/src/sys/GENERIC i386 >Description: The port cad/netgen does not build. This is because it depends upon the port cad/opencascade, which does not build, and is unlikely to be fixed in the near future. >How-To-Repeat: >Fix: The bandaid fix is to remove the dependency on opencascade by changing WITHOUT_OCC to WITH_OCC. diff -ur netgen-orig/Makefile netgen/Makefile --- netgen-orig/Makefile 2008-10-13 09:51:48.000000000 -0500 +++ netgen/Makefile 2008-10-13 09:52:27.000000000 -0500 @@ -26,7 +26,7 @@ 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 @@ 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810131458.m9DEwVwP036696>