aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2009-02-18 11:20:33 +0800
committermaho <maho@FreeBSD.org>2009-02-18 11:20:33 +0800
commit5cbb68e91a3fdfe6bf383f5aa432447f5bd29eb8 (patch)
tree714d905bfaeb0f6e8725eb5712fe3ea692a670df /math
parent37605c5404eba9714fa4f94da391421f8a0710d9 (diff)
downloadfreebsd-ports-gnome-5cbb68e91a3fdfe6bf383f5aa432447f5bd29eb8.tar.gz
freebsd-ports-gnome-5cbb68e91a3fdfe6bf383f5aa432447f5bd29eb8.tar.zst
freebsd-ports-gnome-5cbb68e91a3fdfe6bf383f5aa432447f5bd29eb8.zip
Build fix.
Move to pre-patch to pre-build. Spotted by: QAT
Diffstat (limited to 'math')
-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}