diff options
author | brooks <brooks@FreeBSD.org> | 2012-09-11 02:36:22 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2012-09-11 02:36:22 +0800 |
commit | c4fc19141ec1c8dc99a16054ddb7a101ad760109 (patch) | |
tree | 2beedeb5ecec84abc36f4013059e3c319263ed5b /net/openmpi | |
parent | a23e3aaafe7c9557e1336a1173d8475a8f0d65d4 (diff) | |
download | freebsd-ports-gnome-c4fc19141ec1c8dc99a16054ddb7a101ad760109.tar.gz freebsd-ports-gnome-c4fc19141ec1c8dc99a16054ddb7a101ad760109.tar.zst freebsd-ports-gnome-c4fc19141ec1c8dc99a16054ddb7a101ad760109.zip |
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)
Diffstat (limited to 'net/openmpi')
-rw-r--r-- | net/openmpi/Makefile | 1 | ||||
-rw-r--r-- | net/openmpi/files/patch-configure | 16 | ||||
-rw-r--r-- | net/openmpi/pkg-plist | 2 |
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 |