Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.6 2014/02/19 09:44:56 jperkin Exp $
# $NetBSD: options.mk,v 1.8 2015/01/15 20:26:47 dholland Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openmpi
PKG_SUPPORTED_OPTIONS= debug f90
PKG_SUPPORTED_OPTIONS= debug f90 sge
.include "../../mk/bsd.options.mk"
@@ -9,13 +9,14 @@ PKG_SUPPORTED_OPTIONS= debug f90
CONFIGURE_ARGS+= --enable-debug
.endif
PLIST_VARS+= f90 sge
.if !empty(PKG_OPTIONS:Mf90)
GCC_REQD+= 4.7
GCCDIR= ${PREFIX}/gcc47
CONFIGURE_ARGS+= --enable-mpi-f90
CONFIGURE_ENV+= FC=${GCCDIR}/bin/gfortran
PLIST_SRC+= PLIST.f90
PLIST.f90= yes
SUBST_CLASSES+= f90
SUBST_STAGE.f90= post-configure
@@ -27,4 +28,10 @@ SUBST_SED.f90+= -e 's,^linker_flags=,linker_flags= -L${GCCDIR}/lib ,'
CONFIGURE_ARGS+= --disable-mpi-f90
.endif
PLIST_SRC+= PLIST
.if !empty(PKG_OPTIONS:Msge)
CONFIGURE_ARGS+= --with-sge
PLIST.sge= yes
.else
CONFIGURE_ARGS+= --without-sge
.endif