summaryrefslogtreecommitdiff
path: root/parallel/openmpi/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-02-18 22:21:33 +0000
committerjoerg <joerg@pkgsrc.org>2014-02-18 22:21:33 +0000
commitdc0ea2951b80d4791b6a6981181c110869b09125 (patch)
tree427be24532ede0e7715f35c14ff9e3b1e3947cb6 /parallel/openmpi/Makefile
parent9932cf3e8b17889d7df98f2b1a3ab3c87dfd0f90 (diff)
downloadpkgsrc-dc0ea2951b80d4791b6a6981181c110869b09125.tar.gz
Newer NetBSD has shm_open, use a common PLIST fragment for all systems
using it.
Diffstat (limited to 'parallel/openmpi/Makefile')
-rw-r--r--parallel/openmpi/Makefile7
1 files changed, 6 insertions, 1 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