diff options
Diffstat (limited to 'parallel/mpi-ch/Makefile')
-rw-r--r-- | parallel/mpi-ch/Makefile | 19 |
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'!"; |