1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Build fix with gotoblas.

Feature safe:	yes
This commit is contained in:
Maho Nakata 2010-02-16 06:04:31 +00:00
parent 62c59fe63e
commit 6eb28fda55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249916

View File

@ -26,7 +26,7 @@ USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}.src
USE_BLAS?= reference
.if exists(${LOCALBASE}/lib/libgoto.so)
.if exists(${LOCALBASE}/lib/libgoto2.so)
USE_BLAS= gotoblas
.elif exists(${LOCALBASE}/lib/libatlas_r.so)
USE_BLAS= atlas
@ -38,10 +38,10 @@ LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
BLAS= -lblas
LAPACK= -llapack
.elif ${USE_BLAS} == gotoblas
LIB_DEPENDS+= goto:${PORTSDIR}/math/gotoblas
LIB_DEPENDS+= goto2:${PORTSDIR}/math/gotoblas
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
BLAS= -lgotop
LAPACK= -lgotop -llapack
BLAS= -lgoto2p
LAPACK=
.elif ${USE_BLAS} == atlas
LIB_DEPENDS+= atlas:${PORTSDIR}/math/atlas
BLAS= -lptf77blas -lptcblas -latlas_r