summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-16 22:01:18 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-16 22:01:18 +0000
commit5285bddaa9634e51ceff1b6390bd1dc34a205931 (patch)
treed087c25d583a1e5a8c9b84acadace2d17bf9f672 /parallel/mpi-ch/Makefile
parent6b60c9a30c8e7a5f951a36fec74d35b4d2320179 (diff)
downloadpkgsrc-5285bddaa9634e51ceff1b6390bd1dc34a205931.tar.gz
First step into making mpi-ch fully work with CHECK_FILES.
Also annotate use of C++ and Fortran. Bump revision.
Diffstat (limited to 'parallel/mpi-ch/Makefile')
-rw-r--r--parallel/mpi-ch/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile
index f8bff2a1faf..9d08fe834df 100644
--- a/parallel/mpi-ch/Makefile
+++ b/parallel/mpi-ch/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2006/04/13 01:20:32 rillig Exp $
+# $NetBSD: Makefile,v 1.46 2006/05/16 22:01:18 joerg Exp $
DISTNAME= mpich-1.2.6
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= parallel
MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mpich-docs.tgz
@@ -16,6 +16,7 @@ DEPENDS+= {openssh-[0-9]*,ssh{,6}-1.2.27*}:../../security/openssh
BUILD_TARGET= ALL examples
INSTALL_TARGET= install-all
+USE_LANGUAGES= c c++ fortran
USE_TOOLS+= perl:run
HAS_CONFIGURE= yes
USE_FORTRAN= yes
@@ -42,6 +43,13 @@ CONFIGURE_ENV+= PERLFULLPATH=${PERL5:Q}
# build PATH in the config file is not a problem
CHECK_WRKREF_SKIP+= ${PREFIX}/share/examples/mpi-ch/perftest/config.system
+PKG_SYSCONFSUBDIR= mpi-ch
+EGDIR= ${PREFIX}/share/examples/mpi-ch
+CONF_FILES+= ${EGDIR}/mpichconf.h.dat ${PKG_SYSCONFDIR}/mpichconf.h.dat
+CONF_FILES+= ${EGDIR}/mpichlib.conf ${PKG_SYSCONFDIR}/mpichlib.conf
+CONF_FILES+= ${EGDIR}/mpichversion.c ${PKG_SYSCONFDIR}/mpichversion.c
+CONF_FILES+= ${EGDIR}/mpif77.conf ${PKG_SYSCONFDIR}/mpif77.conf
+
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-arch=netbsd
PLIST_SUBST+= MPICH_OPSYS=${LOWER_OPSYS:Q}