diff options
author | maho <maho@FreeBSD.org> | 2007-01-16 10:15:13 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-16 10:15:13 +0800 |
commit | a2e2016fc67f0e2960bd6097a83bddc30b03268c (patch) | |
tree | a6f9d46f4397627c1146938422bf3718af9e717f /science | |
parent | a2551b04bc2af6a52a6695eccd899e848300bb4f (diff) | |
download | freebsd-ports-gnome-a2e2016fc67f0e2960bd6097a83bddc30b03268c.tar.gz freebsd-ports-gnome-a2e2016fc67f0e2960bd6097a83bddc30b03268c.tar.zst freebsd-ports-gnome-a2e2016fc67f0e2960bd6097a83bddc30b03268c.zip |
Fix automatic detection of WITH_ATLAS.
Diffstat (limited to 'science')
-rw-r--r-- | science/elmer-hutiter/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/science/elmer-hutiter/Makefile b/science/elmer-hutiter/Makefile index bf8f088da58a..44af6fcd63e0 100644 --- a/science/elmer-hutiter/Makefile +++ b/science/elmer-hutiter/Makefile @@ -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 |