aboutsummaryrefslogtreecommitdiffstats
path: root/math/sdpara
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2009-11-28 18:44:56 +0800
committerthierry <thierry@FreeBSD.org>2009-11-28 18:44:56 +0800
commit821dbba052a0ebd1ff69db896a7e5af7c9a21fd9 (patch)
tree83ed04ecf451d9c7a671e32f6ad037860245534a /math/sdpara
parent6156d85b8e504b4e5ea95a6e25e7d34c0e31fde6 (diff)
downloadfreebsd-ports-gnome-821dbba052a0ebd1ff69db896a7e5af7c9a21fd9.tar.gz
freebsd-ports-gnome-821dbba052a0ebd1ff69db896a7e5af7c9a21fd9.tar.zst
freebsd-ports-gnome-821dbba052a0ebd1ff69db896a7e5af7c9a21fd9.zip
- Chase relocation of net/mpich2
- Bump PORTREVISION if needed - Fix some portlint errors.
Diffstat (limited to 'math/sdpara')
-rw-r--r--math/sdpara/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/math/sdpara/Makefile b/math/sdpara/Makefile
index fa704eca7ae3..6858dc0713dd 100644
--- a/math/sdpara/Makefile
+++ b/math/sdpara/Makefile
@@ -7,9 +7,9 @@
PORTNAME= sdpara
PORTVERSION= 7.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math parallel
-MASTER_SITES= http://sdpa.indsys.chuo-u.ac.jp/sdpa/files/
+MASTER_SITES= http://sdpa.indsys.chuo-u.ac.jp/sdpa/files/
DISTFILES= ${SRCFILE}#${MANUALFILE}
DIST_SUBDIR= sdpa
EXTRACT_ONLY= ${SRCFILE}
@@ -34,9 +34,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
USE_BLAS?= reference
.if exists(${LOCALBASE}/lib/libgoto.so)
-USE_BLAS= gotoblas
+USE_BLAS= gotoblas
.elif exists(${LOCALBASE}/lib/libatlas_r.so)
-USE_BLAS= atlas
+USE_BLAS= atlas
.endif
. if ${USE_BLAS} == reference
@@ -50,21 +50,21 @@ LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
BLAS= -lgotop
LAPACK= -lgotop -llapack
.elif ${USE_BLAS} == atlas
-LIB_DEPENDS+= atlas:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= atlas:${PORTSDIR}/math/atlas
BLAS= -lptf77blas -lptcblas -latlas_r
LAPACK= -lalapack_r
.endif
#PLIST_SUB+= MANUALFILE=${MANUALFILE}
-SCALAPACK = -L/usr/local/lib -lscalapack -lblacs -lblacsc
-FORTRAN_LIBS= -lgfortran
-GCCLIBDIR = -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
+SCALAPACK= -L/usr/local/lib -lscalapack -lblacs -lblacsc
+FORTRAN_LIBS= -lgfortran
+GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
post-patch:
- @${REINPLACE_CMD} -e 's|%%MPICC%%|${LOCALBASE}/mpich2/bin/mpicc|g ; \
- s|%%MPICXX%%|${LOCALBASE}/mpich2/bin/mpicxx|g ; \
- s|%%MPIF77%%|${LOCALBASE}/mpich2/bin/mpif77|g ; \
+ @${REINPLACE_CMD} -e 's|%%MPICC%%|${LOCALBASE}/bin/mpicc|g ; \
+ s|%%MPICXX%%|${LOCALBASE}/bin/mpicxx|g ; \
+ s|%%MPIF77%%|${LOCALBASE}/bin/mpif77|g ; \
s|%%CFLAGS%%|${CFLAGS}|g ; \
s|%%CXXFLAGS%%|${CXXFLAGS}|g ; \
s|%%FFLAGS%%|${FFLAGS}|g ; \
@@ -73,9 +73,9 @@ post-patch:
s|%%SCALAPACK%%|${SCALAPACK}|g ; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g ; \
s|%%FORTRAN_LIBS%%|${GCCLIBDIR} ${FORTRAN_LIBS}|g ' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|%%MPICC%%|${LOCALBASE}/mpich2/bin/mpicc|g ; \
- s|%%MPICXX%%|${LOCALBASE}/mpich2/bin/mpicxx|g ; \
- s|%%MPIF77%%|${LOCALBASE}/mpich2/bin/mpif77|g ; \
+ @${REINPLACE_CMD} -e 's|%%MPICC%%|${LOCALBASE}/bin/mpicc|g ; \
+ s|%%MPICXX%%|${LOCALBASE}/bin/mpicxx|g ; \
+ s|%%MPIF77%%|${LOCALBASE}/bin/mpif77|g ; \
s|%%CFLAGS%%|${CFLAGS}|g ; \
s|%%CXXFLAGS%%|${CXXFLAGS}|g ; \
s|%%FFLAGS%%|${FFLAGS}|g ; \