From 532f881192e54b6a05668cf16b6189f5bdd6b7e5 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 28 Nov 2009 10:44:56 +0000 Subject: - Chase relocation of net/mpich2 - Bump PORTREVISION if needed - Fix some portlint errors. --- math/sdpara/Makefile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'math/sdpara') 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 ; \ -- cgit v1.2.3