diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-02-02 03:43:51 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-02-02 03:43:51 +0800 |
commit | f942bc74270382d057a715d8152fc6fad05c0c6c (patch) | |
tree | ab857951c5166a149746079999c4e952a9aa53b2 | |
parent | 1c14043228bd0432a91421d912ccea0bf311936a (diff) | |
download | freebsd-ports-gnome-f942bc74270382d057a715d8152fc6fad05c0c6c.tar.gz freebsd-ports-gnome-f942bc74270382d057a715d8152fc6fad05c0c6c.tar.zst freebsd-ports-gnome-f942bc74270382d057a715d8152fc6fad05c0c6c.zip |
Add OPENMPI2 option
-rw-r--r-- | science/pnetcdf/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile index bba0cd5f26f2..d93dd1cab163 100644 --- a/science/pnetcdf/Makefile +++ b/science/pnetcdf/Makefile @@ -13,8 +13,10 @@ COMMENT= Library providing high-performance I/O OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= MPI -OPTIONS_SINGLE_MPI= OPENMPI MPICH2 +OPTIONS_SINGLE_MPI= OPENMPI OPENMPI2 MPICH2 OPTIONS_DEFAULT=OPENMPI +OPENMPI_DESC= Parallel processing support via Open MPI 1.x +OPENMPI2_DESC= Parallel processing support via Open MPI 2.x CONFLICTS_INSTALL= hdf-4.* @@ -31,6 +33,8 @@ MPICH2_CONFIGURE_ON= --with-mpi=${LOCALBASE} MPICH2_LIB_DEPENDS= libmpich.so:net/mpich2 OPENMPI_CONFIGURE_ON= --with-mpi=${LOCALBASE}/mpi/openmpi OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi +OPENMPI2_CONFIGURE_ON= --with-mpi=${LOCALBASE}/mpi/openmpi2 +OPENMPI2_LIB_DEPENDS= libmpi.so:net/openmpi2 post-patch: @${REINPLACE_CMD} -e '/$$(INSTALL.*$$(PREFIX)/ s|$$(PREFIX)|$$(DESTDIR)&|' ${WRKSRC}/Makefile.in |