summaryrefslogtreecommitdiff
path: root/parallel/openmpi/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'parallel/openmpi/options.mk')
-rw-r--r--parallel/openmpi/options.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/parallel/openmpi/options.mk b/parallel/openmpi/options.mk
index ec4f8b39a33..07909492c82 100644
--- a/parallel/openmpi/options.mk
+++ b/parallel/openmpi/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2014/02/19 09:44:56 jperkin Exp $
+# $NetBSD: options.mk,v 1.7 2014/05/22 13:24:49 manu Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openmpi
-PKG_SUPPORTED_OPTIONS= debug f90
+PKG_SUPPORTED_OPTIONS= debug f90 sge
.include "../../mk/bsd.options.mk"
@@ -27,4 +27,12 @@ SUBST_SED.f90+= -e 's,^linker_flags=,linker_flags= -L${GCCDIR}/lib ,'
CONFIGURE_ARGS+= --disable-mpi-f90
.endif
+
+.if !empty(PKG_OPTIONS:Msge)
+CONFIGURE_ARGS+= --with-sge
+PLIST_SRC+= ${PKGDIR}/PLIST.sge
+.else
+CONFIGURE_ARGS+= --without-sge
+.endif
+
PLIST_SRC+= PLIST