diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2009-11-28 10:44:56 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2009-11-28 10:44:56 +0000 |
commit | 532f881192e54b6a05668cf16b6189f5bdd6b7e5 (patch) | |
tree | 98425fe5718b372e97a66d6b0f071f732e042bd3 /math/sdpara | |
parent | a9969884fb77e493740fae5649c192f9c5a9ab15 (diff) | |
download | ports-532f881192e54b6a05668cf16b6189f5bdd6b7e5.tar.gz ports-532f881192e54b6a05668cf16b6189f5bdd6b7e5.zip |
Notes
Diffstat (limited to 'math/sdpara')
-rw-r--r-- | math/sdpara/Makefile | 28 |
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 ; \ |