ports/128063: cad/netgen does not build
Stephen Montgomery-Smith
stephen at math.missouri.edu
Mon Oct 13 15:00:14 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list