Fix build with recent update of gotoblas(2).

Feature safe:	yes
This commit is contained in:
Maho Nakata 2010-02-16 05:51:43 +00:00
parent cfb8e54b4d
commit 4c5f9cfbc3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249914

View file

@ -34,7 +34,7 @@ MANUAL_PACKAGE_BUILD=You must manually get the source distribution from master s
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
@ -46,10 +46,9 @@ LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
BLAS= -lblas
LAPACK= -llapack
.elif ${USE_BLAS} == gotoblas
LIB_DEPENDS+= goto:${PORTSDIR}/math/gotoblas
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
BLAS= -lgotop
LAPACK= -lgotop -llapack
LIB_DEPENDS+= goto2:${PORTSDIR}/math/gotoblas
BLAS= -lgoto2p
LAPACK= -lgoto2p
.elif ${USE_BLAS} == atlas
LIB_DEPENDS+= atlas:${PORTSDIR}/math/atlas
BLAS= -lptf77blas -lptcblas -latlas_r