diff options
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 |