aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/sdpara/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/sdpara/Makefile b/math/sdpara/Makefile
index 5853af7e62e9..1689d06eb248 100644
--- a/math/sdpara/Makefile
+++ b/math/sdpara/Makefile
@@ -60,9 +60,6 @@ SCALAPACK = -L/usr/local/lib -lscalapack -lblacs -lblacsc
FORTRAN_LIBS= -lgfortran
GCCLIBDIR = -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
-pre-patch:
- ${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
-
post-patch:
@${REINPLACE_CMD} -e 's|%%MPICC%%|mpicc|g ; \
s|%%MPICXX%%|mpicxx|g ; \
@@ -84,6 +81,9 @@ post-patch:
s|%%BLAS%%|${BLAS}|g ; \
s|%%LAPACK%%|${LAPACK}|g ' ${WRKSRC}/mumps/Makefile
+pre-build:
+ ${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
+
do-build:
cd ${WRKSRC} ; ${GMAKE} mumps
cd ${WRKSRC} ; ${GMAKE}