Date: Mon, 5 Jan 2015 21:35:34 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376364 - head/math/blocksolve95 Message-ID: <201501052135.t05LZYbN057814@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Mon Jan 5 21:35:33 2015 New Revision: 376364 URL: https://svnweb.freebsd.org/changeset/ports/376364 QAT: https://qat.redports.org/buildarchive/r376364/ Log: Uses blaslapack.mk. Modified: head/math/blocksolve95/Makefile Modified: head/math/blocksolve95/Makefile ============================================================================== --- head/math/blocksolve95/Makefile Mon Jan 5 21:26:31 2015 (r376363) +++ head/math/blocksolve95/Makefile Mon Jan 5 21:35:33 2015 (r376364) @@ -22,9 +22,14 @@ LIB_DEPENDS= libf2c.so:${PORTSDIR}/lang/ libmpich.so:${PORTSDIR}/net/mpich2 USES= fortran gmake tar:Z +.if defined(WITH_ATLAS) +USES+= blaslapack:atlas +.else +USES+= blaslapack +.endif MAKEFILE= makefile MAKE_ARGS= GMAKE=${MAKE_CMD} PETSC_ARCH=${PETSC_ARCH} BOPT=${BOPT} \ - BLAS_LIB="${BLAS_LIB}" LAPACK_LIB="${LAPACK_LIB}" + BLAS_LIB="${BLASLIB}" LAPACK_LIB="-L${LOCALBASE}/lib ${LAPACKLIB}" MPIDIR= ${LOCALBASE} PETSC_ARCH= freebsd @@ -40,16 +45,6 @@ PORTDOCS= manual.ps .if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS) WITH_ATLAS= yes .endif -.if defined(WITH_ATLAS) -LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas -BLAS_LIB= -lf77blas -LAPACK_LIB= -L${LOCALBASE}/lib -lalapack -lcblas -.else -LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack -LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas -BLAS_LIB= -lblas -LAPACK_LIB= -L${LOCALBASE}/lib -llapack -.endif do-install: ${INSTALL_DATA} ${WRKSRC}/lib/lib${BOPT}/${PETSC_ARCH}/libBS95.a \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501052135.t05LZYbN057814>