summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-14 01:10:49 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-14 01:10:49 +0000
commitb1472309671a67b16cab03410ae83bb9d6007baa (patch)
tree564b2594a586721772c26a9e98e47bc82b4b548e /parallel/mpi-ch/Makefile
parenta5f3be85943d18a0266b89d72ffdb8aec3d4a49b (diff)
downloadpkgsrc-b1472309671a67b16cab03410ae83bb9d6007baa.tar.gz
Add DragonFly support.
Diffstat (limited to 'parallel/mpi-ch/Makefile')
-rw-r--r--parallel/mpi-ch/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile
index 0181f1265d2..4c53f80d224 100644
--- a/parallel/mpi-ch/Makefile
+++ b/parallel/mpi-ch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2006/02/05 23:10:34 joerg Exp $
+# $NetBSD: Makefile,v 1.43 2006/03/14 01:10:49 joerg Exp $
DISTNAME= mpich-1.2.6
PKGREVISION= 3
@@ -45,6 +45,9 @@ CHECK_WRKREF_SKIP+= ${PREFIX}/share/examples/mpi-ch/perftest/config.system
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-arch=netbsd
PLIST_SUBST+= MPICH_OPSYS=${LOWER_OPSYS:Q}
+.elif ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= --with-arch=freebsd
+PLIST_SUBST+= MPICH_OPSYS=freebsd
.elif ${OPSYS} == "IRIX"
CONFIGURE_ARGS+= --with-arch=IRIX${ABI:S/32/N32/}
PLIST_SUBST+= MPICH_OPSYS="${OPSYS}${ABI:S/32/N32/}"
@@ -61,8 +64,20 @@ BUILD_DEFS+= MPI_RSH
PLIST_SRC+= ${PKGDIR}/PLIST
-.if ${MPI_RSH} == "rsh"
pre-configure:
+ set -e; for f in MPI-2-C++ examples/perftest/config/confdb mpe \
+ mpe/slog2sdk mpe/slog2sdk/trace_rlog mpe/slog2sdk/trace_sample\
+ mpid/ch_p4/p4 romio/confdb src/fortran/config; do \
+ ${INSTALL} ${PKGSRCDIR}/mk/gnu-config/config.guess \
+ ${WRKSRC}/$$f; \
+ done
+ set -e; for f in MPI-2-C++ examples/perftest/config/confdb mpe \
+ mpe/slog2sdk mpe/slog2sdk/trace_rlog mpe/slog2sdk/trace_sample\
+ romio/confdb src/fortran/config; do \
+ ${INSTALL} ${PKGSRCDIR}/mk/gnu-config/config.sub \
+ ${WRKSRC}/$$f; \
+ done
+.if ${MPI_RSH} == "rsh"
@${ECHO} "======================================================================";
@${ECHO} "Remember to enable 'shell' and 'login' in your /etc/inetd.conf and";
@${ECHO} "restart inetd -- otherwise, the configure script will disable 'rsh'!";