Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2013/05/31 12:41:45 wiz Exp $
# $NetBSD: Makefile,v 1.25 2014/02/18 22:21:33 joerg Exp $
DISTNAME= openmpi-1.6.4
PKGREVISION= 1
@@ -20,7 +20,6 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool \
SHLIBTOOL_OVERRIDE= ${WRKSRC}/config/libtool.m4 \
${WRKSRC}/opal/libltdl/m4/libtool.m4
CONFIGURE_ARGS+= --disable-mpi-f90
CONFIGURE_ARGS+= --without-sge
CONFIGURE_ARGS+= --without-slurm
CONFIGURE_ARGS+= --enable-contrib-no-build=vt # in separate package
@@ -39,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

View File

@@ -1,3 +0,0 @@
@comment $NetBSD: PLIST.DragonFly,v 1.1 2012/12/15 10:41:58 marino Exp $
lib/openmpi/mca_shmem_posix.la
share/openmpi/help-opal-shmem-posix.txt

View File

@@ -0,0 +1,2 @@
lib/libmpi_f90.la
lib/mpi.mod

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.shm,v 1.1 2014/02/18 22:21:33 joerg Exp $
lib/openmpi/mca_shmem_posix.la
share/openmpi/help-opal-shmem-posix.txt

View File

@@ -1,10 +1,30 @@
# $NetBSD: options.mk,v 1.4 2012/10/17 23:27:34 asau Exp $
# $NetBSD: options.mk,v 1.6 2014/02/19 09:44:56 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openmpi
PKG_SUPPORTED_OPTIONS= debug
PKG_SUPPORTED_OPTIONS= debug f90
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif
.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
SUBST_CLASSES+= f90
SUBST_STAGE.f90= post-configure
SUBST_FILES.f90= ompi/tools/wrappers/mpif90-wrapper-data.txt
SUBST_SED.f90= -e 's,^compiler=.*$$,compiler=${GCCDIR}/bin/gfortran,'
SUBST_SED.f90+= -e 's,^linker_flags=,linker_flags= -R${GCCDIR}/lib ,'
SUBST_SED.f90+= -e 's,^linker_flags=,linker_flags= -L${GCCDIR}/lib ,'
.else
CONFIGURE_ARGS+= --disable-mpi-f90
.endif
PLIST_SRC+= PLIST