summaryrefslogtreecommitdiff
path: root/net/openmpi
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2012-09-10 18:36:22 +0000
committerBrooks Davis <brooks@FreeBSD.org>2012-09-10 18:36:22 +0000
commit09c960f6a7fa32a12b113e753e063374564a92ac (patch)
tree2beedeb5ecec84abc36f4013059e3c319263ed5b /net/openmpi
parentSet LC_ALL instead of LANG. Some users still complain about locale issues. (diff)
Correct detection of SCTP support in libc so it is found on all supported
OS versions not just 7.x. Add missing plist entries. Reported by: QAT (beat)
Notes
Notes: svn path=/head/; revision=304049
Diffstat (limited to 'net/openmpi')
-rw-r--r--net/openmpi/Makefile1
-rw-r--r--net/openmpi/files/patch-configure16
-rw-r--r--net/openmpi/pkg-plist2
3 files changed, 19 insertions, 0 deletions
diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile
index 73f009d2b99f..cea0f6b677cf 100644
--- a/net/openmpi/Makefile
+++ b/net/openmpi/Makefile
@@ -10,6 +10,7 @@
PORTNAME= openmpi
DISTVERSION= 1.6.1
+PORTREVISION= 1
CATEGORIES= net parallel
MASTER_SITES= http://www.open-mpi.org/software/ompi/v1.6/downloads/
diff --git a/net/openmpi/files/patch-configure b/net/openmpi/files/patch-configure
new file mode 100644
index 000000000000..34d7e5852153
--- /dev/null
+++ b/net/openmpi/files/patch-configure
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -125045,8 +125045,8 @@
+ ;;
+ *bsd*)
+ case "$host" in
+- *freebsd7*)
+- # FreeBSD 7 has SCTP in an unpatched default kernel with
++ **freebsd[789]*|*freebsd1[0-9]*)
++ # FreeBSD >= 7 has SCTP in an unpatched default kernel with
+ # the SCTP API contained within libc.
+ ompi_sctp_api_libname="c"
+ ;;
diff --git a/net/openmpi/pkg-plist b/net/openmpi/pkg-plist
index 646555b612f3..38ebf07b5a79 100644
--- a/net/openmpi/pkg-plist
+++ b/net/openmpi/pkg-plist
@@ -160,6 +160,8 @@
%%MPIDIR%%/lib/openmpi/mca_allocator_bucket.so
%%MPIDIR%%/lib/openmpi/mca_bml_r2.la
%%MPIDIR%%/lib/openmpi/mca_bml_r2.so
+%%MPIDIR%%/lib/openmpi/mca_btl_sctp.la
+%%MPIDIR%%/lib/openmpi/mca_btl_sctp.so
%%MPIDIR%%/lib/openmpi/mca_btl_self.la
%%MPIDIR%%/lib/openmpi/mca_btl_self.so
%%MPIDIR%%/lib/openmpi/mca_btl_sm.la