1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fix automatic detection of WITH_ATLAS.

This commit is contained in:
Maho Nakata 2007-01-16 02:15:13 +00:00
parent 6e39842b40
commit e9725eecd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182469

View File

@ -16,6 +16,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= HUTIter library for use in the ELMER FEM package
LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif
@ -30,8 +33,6 @@ BLAS= -lblas
LAPACK= -llapack
.endif
.include <bsd.port.pre.mk>
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42