diff options
author | joerg <joerg@pkgsrc.org> | 2014-02-18 22:21:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-02-18 22:21:33 +0000 |
commit | dc0ea2951b80d4791b6a6981181c110869b09125 (patch) | |
tree | 427be24532ede0e7715f35c14ff9e3b1e3947cb6 | |
parent | 9932cf3e8b17889d7df98f2b1a3ab3c87dfd0f90 (diff) | |
download | pkgsrc-dc0ea2951b80d4791b6a6981181c110869b09125.tar.gz |
Newer NetBSD has shm_open, use a common PLIST fragment for all systems
using it.
-rw-r--r-- | parallel/openmpi/Makefile | 7 | ||||
-rw-r--r-- | parallel/openmpi/PLIST.DragonFly | 3 | ||||
-rw-r--r-- | parallel/openmpi/PLIST.shm (renamed from parallel/openmpi/PLIST.FreeBSD) | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/parallel/openmpi/Makefile b/parallel/openmpi/Makefile index 5a1282fb360..26d1db271cf 100644 --- a/parallel/openmpi/Makefile +++ b/parallel/openmpi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2013/07/19 03:52:29 manu Exp $ +# $NetBSD: Makefile,v 1.25 2014/02/18 22:21:33 joerg Exp $ DISTNAME= openmpi-1.6.4 PKGREVISION= 1 @@ -38,6 +38,11 @@ USE_TOOLS+= perl:run TEST_TARGET= check +.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || \ + (${OPSYS} == "NetBSD" && exists(/var/shm)) +PLIST_SRC+= PLIST.shm +.endif + ## Just in case you'll need it... # USE_TOOLS+= aclocal autoconf automake bash perl # REPLACE_BASH= autogen.sh diff --git a/parallel/openmpi/PLIST.DragonFly b/parallel/openmpi/PLIST.DragonFly deleted file mode 100644 index 50cef188a81..00000000000 --- a/parallel/openmpi/PLIST.DragonFly +++ /dev/null @@ -1,3 +0,0 @@ -@comment $NetBSD: PLIST.DragonFly,v 1.1 2012/12/15 10:41:58 marino Exp $ -lib/openmpi/mca_shmem_posix.la -share/openmpi/help-opal-shmem-posix.txt diff --git a/parallel/openmpi/PLIST.FreeBSD b/parallel/openmpi/PLIST.shm index 5cc45d6f5df..9268c6aa07a 100644 --- a/parallel/openmpi/PLIST.FreeBSD +++ b/parallel/openmpi/PLIST.shm @@ -1,3 +1,3 @@ -@comment $NetBSD: PLIST.FreeBSD,v 1.1 2013/12/17 06:48:08 asau Exp $ +@comment $NetBSD: PLIST.shm,v 1.1 2014/02/18 22:21:33 joerg Exp $ lib/openmpi/mca_shmem_posix.la share/openmpi/help-opal-shmem-posix.txt |