summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/pnetcdf/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile
index bfa494405188..ea9c3b692735 100644
--- a/science/pnetcdf/Makefile
+++ b/science/pnetcdf/Makefile
@@ -19,15 +19,15 @@ CONFLICTS_INSTALL= hdf-4.*
OPTIONS_SINGLE= MPI
OPTIONS_SINGLE_MPI= OPENMPI MPICH
-OPTIONS_DEFAULT= OPENMPI
+OPTIONS_DEFAULT=OPENMPI
OPTIONS_DEFAULT_armv6= MPICH
OPTIONS_DEFAULT_armv7= MPICH
OPTIONS_DEFAULT_i386= MPICH
-OPTIONS_DEFAULT_powerpc= MPICH
+OPTIONS_DEFAULT_powerpc=MPICH
OPTIONS_EXCLUDE_armv6= OPENMPI
OPTIONS_EXCLUDE_armv7= OPENMPI
OPTIONS_EXCLUDE_i386= OPENMPI
-OPTIONS_EXCLUDE_powerpc= OPENMPI
+OPTIONS_EXCLUDE_powerpc=OPENMPI
MPICH_USES= mpi:mpich
OPENMPI_USES= mpi:openmpi
@@ -35,7 +35,7 @@ OPENMPI_USES= mpi:openmpi
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
-# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/CHARACTER(*)).
+# Workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/CHARACTER(*)).
FCFLAGS+= -fallow-argument-mismatch
.endif
@@ -43,7 +43,4 @@ FCFLAGS+= -fallow-argument-mismatch
BROKEN= Use MPICH option instead. PnetCDF requires MPI_Offset >= 8 but Open MPI sets MPI_Offset to 4 on 32-bit architecture regardless of LFS. See https://github.com/open-mpi/ompi/issues/3195 for details
.endif
-post-patch:
- @${REINPLACE_CMD} -e '/$$(INSTALL.*$$(PREFIX)/ s|$$(PREFIX)|$$(DESTDIR)&|' ${WRKSRC}/Makefile.in
-
.include <bsd.port.post.mk>