diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-03-07 02:08:37 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-03-07 02:08:37 +0000 |
commit | 5343e4fad9f5455d040f562d448442c01f9fec82 (patch) | |
tree | 60681c14f9e799c0e50adbbf69efab3aa48d5d84 /parallel | |
parent | f019081cddde1faedc7da8199b400fccd1ad951a (diff) | |
download | pkgsrc-5343e4fad9f5455d040f562d448442c01f9fec82.tar.gz |
Make this work on IRIX.
Other non-NetBSD OS probably want to check this, too, since so far we've
always built with --with-arch=netbsd...
Diffstat (limited to 'parallel')
-rw-r--r-- | parallel/mpi-ch/Makefile | 13 | ||||
-rw-r--r-- | parallel/mpi-ch/PLIST | 4 |
2 files changed, 11 insertions, 6 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile index 5d86bfa623d..00ae34fa53a 100644 --- a/parallel/mpi-ch/Makefile +++ b/parallel/mpi-ch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2005/03/03 12:01:30 garbled Exp $ +# $NetBSD: Makefile,v 1.34 2005/03/07 02:08:37 jschauma Exp $ DISTNAME= mpich-1.2.6 CATEGORIES= parallel @@ -30,7 +30,6 @@ CONFIGURE_ARGS+= -docdir=${PREFIX}/share/doc/mpi-ch CONFIGURE_ARGS+= -htmldir=${PREFIX}/share/doc/html/mpi-ch CONFIGURE_ARGS+= -opt=-O CONFIGURE_ARGS+= -rsh=${MPI_RSH} -CONFIGURE_ARGS+= --with-arch=netbsd CONFIGURE_ARGS+= --with-comm=ch_p4 CONFIGURE_ARGS+= --with-mpe CONFIGURE_ARGS+= --disable-devdebug @@ -38,6 +37,14 @@ CONFIGURE_ARGS+= --disable-f90 CONFIGURE_ARGS+= --disable-f90modules CONFIGURE_ENV+= sysconfdir=${PKG_SYSCONFDIR} +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+= --with-arch=netbsd +PLIST_SUBST+= MPICH_OPSYS="${LOWER_OPSYS}" +.elif ${OPSYS} == "IRIX" +CONFIGURE_ARGS+= --with-arch=IRIX${ABI:S/32/N32/} +PLIST_SUBST+= MPICH_OPSYS="${OPSYS}${ABI:S/32/N32/}" +.endif + .include "../../mk/compiler.mk" .if !empty(CC_VERSION:Mgcc-3*) CONFIGURE_ARGS+= --disable-weak-symbols @@ -47,8 +54,6 @@ MAKE_ENV+= RSHCOMMAND="${MPI_RSH}" BUILD_DEFS+= MPI_RSH -.include "../../mk/bsd.prefs.mk" - PLIST_SRC+= ${PKGDIR}/PLIST .if ${MPI_RSH} == "rsh" diff --git a/parallel/mpi-ch/PLIST b/parallel/mpi-ch/PLIST index 4fa958afe7e..ff18b1164ac 100644 --- a/parallel/mpi-ch/PLIST +++ b/parallel/mpi-ch/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2005/03/03 12:07:52 wiz Exp $ +@comment $NetBSD: PLIST,v 1.6 2005/03/07 02:08:37 jschauma Exp $ bin/clog2alog bin/clog_print bin/mpicc @@ -1918,7 +1918,7 @@ share/examples/mpi-ch/test/topol/test.h share/examples/mpi-ch/test/topol/test.o share/examples/mpi-ch/test/topol/twod.f share/examples/mpi-ch/test/topol/twod2.f -share/util/machines/machines.${LOWER_OPSYS} +share/util/machines/machines.${MPICH_OPSYS} share/util/machines/machines.sample @dirrm share/util/machines @dirrm share/util |