diff options
author | asau <asau> | 2010-05-16 12:04:03 +0000 |
---|---|---|
committer | asau <asau> | 2010-05-16 12:04:03 +0000 |
commit | a92621d08b319cc14314e36c8df10c03d9ac9ddb (patch) | |
tree | dde07b6e03d45863080b3150896d30090526c3a1 /biology/gromacs/options.mk | |
parent | 2a86969b87ac59b12887da101326bb78ca11faf5 (diff) | |
download | pkgsrc-a92621d08b319cc14314e36c8df10c03d9ac9ddb.tar.gz |
Build with MPI support by default.
Introduce "mpi" option to turn the above off.
Bump PKGREVISION.
Diffstat (limited to 'biology/gromacs/options.mk')
-rw-r--r-- | biology/gromacs/options.mk | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/biology/gromacs/options.mk b/biology/gromacs/options.mk index 55502741ee5..c0e3f3653e8 100644 --- a/biology/gromacs/options.mk +++ b/biology/gromacs/options.mk @@ -1,13 +1,22 @@ -# $NetBSD: options.mk,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $ +# $NetBSD: options.mk,v 1.2 2010/05/16 12:04:03 asau Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gromacs -PKG_SUPPORTED_OPTIONS+= x11 -PKG_SUGGESTED_OPTIONS+= x11 +PKG_SUPPORTED_OPTIONS+= mpi x11 +PKG_SUGGESTED_OPTIONS+= mpi x11 .include "../../mk/bsd.options.mk" PLIST_VARS= x11 +# MPI support: +.if !empty(PKG_OPTIONS:Mmpi) +CONFIGURE_ARGS+= --enable-mpi +PLIST_SUBST+= MPI=_mpi +.include "../../mk/mpi.buildlink3.mk" +.else +PLIST_SUBST+= MPI= +.endif + # X support: .if !empty(PKG_OPTIONS:Mx11) CONFIGURE_ARGS+= --with-x |