diff options
Diffstat (limited to 'math/parmetis')
-rw-r--r-- | math/parmetis/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile index cfe0c38c1ff5..c68a04b57114 100644 --- a/math/parmetis/Makefile +++ b/math/parmetis/Makefile @@ -22,7 +22,6 @@ OPENMPI_DESC= Use openmpi instead of mpich2 USES= cmake gmake -MAKE_ARGS+= MAKEFLAGS=MAKE=${GMAKE} PLIST_FILES= include/parmetis/metis.h \ include/parmetis/parmetis.h \ lib/parmetis/libmetis.a \ @@ -47,7 +46,8 @@ MPICC= ${LOCALBASE}/bin/mpicc post-patch: @${REINPLACE_CMD} -e \ 's|BUILDDIR =.*|BUILDDIR = build| ; \ - s|make -C|${MAKE_CMD} -C|' ${WRKSRC}/Makefile + s|make -C|$$(MAKE) -C| ; \ + s|$$(MAKEFLAGS)||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|"-O3"|""|' ${WRKSRC}/metis/GKlib/GKlibSystem.cmake |