Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2012 18:36:23 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304049 - in head/net/openmpi: . files
Message-ID:  <201209101836.q8AIaNdX098799@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209101836.q8AIaNdX098799>