ports/126696: science/mbdyn: add option for Chaco
Pedro Giffuni
pfgshield-freebsd at yahoo.com
Wed Aug 20 21:20:03 UTC 2008
>Number: 126696
>Category: ports
>Synopsis: science/mbdyn: add option for Chaco
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 20 21:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Pedro Giffuni
>Release: 7.0-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Fri Aug 8 16:42:27 COT 2008 root at kakumen.cable.net.co:/usr/src/sys/amd64/compile/GENERIC amd64
>Description:
- Add experimental option for Chaco.
- Remove BROKEN for Metis option: it builds fine here.
- Remove BROKENness for 4.x, we don't check that anymore.
- No functional change: both Metis and Chaco are off by default.
Note: when math/chaco was ported I was careful to include the required patches for mbdyn.
>How-To-Repeat:
>Fix:
diff -ruN mbdyn.orig/Makefile mbdyn/Makefile
--- mbdyn.orig/Makefile 2008-08-19 21:57:37.000000000 -0500
+++ mbdyn/Makefile 2008-08-19 22:50:56.000000000 -0500
@@ -34,6 +34,7 @@
OPTIONS= MPI "Enable mpich-support" off \
METIS "Enable metis-support" off \
+ CHACO "Enable chaco-support" off \
GINAC "Enable GiNaC-support (not implemented yet)" off \
TCL "Enable tcl-support (not implemented yet)" off
@@ -64,7 +65,6 @@
.endif
.if defined(WITH_METIS)
-BROKEN= Does not compile with metis enabled
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis
CONFIGURE_ARGS+= --with-metis=yes
CPPFLAGS+= -I${LOCALBASE}/include/metis
@@ -72,6 +72,13 @@
CONFIGURE_ARGS+= --with-metis=no
.endif
+.if defined(WITH_CHACO)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libchaco.a:${PORTSDIR}/math/chaco
+CONFIGURE_ARGS+= --with-chaco=yes
+.else
+CONFIGURE_ARGS+= --with-chaco=no
+.endif
+
.if defined(WITH_GINAC)
IGNORE= you enabled GiNaC-support, which is not implemented yet
#BUILD_DEPENDS+= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis
@@ -94,8 +101,4 @@
BROKEN= Does not compile
.endif
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile
-.endif
-
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list