summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parallel/openmpi/Makefile7
-rw-r--r--parallel/openmpi/PLIST.DragonFly3
-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