aboutsummaryrefslogtreecommitdiffstats
path: root/science/mbdyn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/mbdyn/Makefile')
-rw-r--r--science/mbdyn/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/science/mbdyn/Makefile b/science/mbdyn/Makefile
index 3405acade5cd..eb7b63405c7d 100644
--- a/science/mbdyn/Makefile
+++ b/science/mbdyn/Makefile
@@ -42,7 +42,6 @@ OPTIONS= MPI "Enable mpich-support" off \
.include <bsd.port.pre.mk>
-WITH_BLAS= yes
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif
@@ -54,7 +53,7 @@ LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
CONFIGURE_ARGS+= --with-blas=blas
.endif
-post-patch:
+pre-configure:
@${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" -e "s+%%FORTRANLIBS%%+${FORTRANLIBS}+" ${WRKSRC}/configure.in