mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Fix automatic detection of WITH_ATLAS.
This commit is contained in:
parent
6e39842b40
commit
e9725eecd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182469
@ -16,6 +16,9 @@ MAINTAINER= ports@FreeBSD.org
|
|||||||
COMMENT= HUTIter library for use in the ELMER FEM package
|
COMMENT= HUTIter library for use in the ELMER FEM package
|
||||||
|
|
||||||
LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack
|
LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
|
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
|
||||||
WITH_ATLAS= yes
|
WITH_ATLAS= yes
|
||||||
.endif
|
.endif
|
||||||
@ -30,8 +33,6 @@ BLAS= -lblas
|
|||||||
LAPACK= -llapack
|
LAPACK= -llapack
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
WANT_FORTRAN= yes #dummy but future use
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||||
FC= gfortran42
|
FC= gfortran42
|
||||||
|
Loading…
Reference in New Issue
Block a user