svn commit: r304049 - in head/net/openmpi: . files
Brooks Davis
brooks at FreeBSD.org
Mon Sep 10 18:36:23 UTC 2012
Author: brooks
Date: Mon Sep 10 18:36:22 2012
New Revision: 304049
URL: http://svn.freebsd.org/changeset/ports/304049
Log:
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)
Added:
head/net/openmpi/files/
head/net/openmpi/files/patch-configure (contents, props changed)
Modified:
head/net/openmpi/Makefile
head/net/openmpi/pkg-plist
Modified: head/net/openmpi/Makefile
==============================================================================
--- head/net/openmpi/Makefile Mon Sep 10 18:34:58 2012 (r304048)
+++ head/net/openmpi/Makefile Mon Sep 10 18:36:22 2012 (r304049)
@@ -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/
Added: head/net/openmpi/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/openmpi/files/patch-configure Mon Sep 10 18:36:22 2012 (r304049)
@@ -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"
+ ;;
Modified: head/net/openmpi/pkg-plist
==============================================================================
--- head/net/openmpi/pkg-plist Mon Sep 10 18:34:58 2012 (r304048)
+++ head/net/openmpi/pkg-plist Mon Sep 10 18:36:22 2012 (r304049)
@@ -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
More information about the svn-ports-head
mailing list