diff options
author | maho <maho@FreeBSD.org> | 2007-02-14 00:54:34 +0000 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-02-14 00:54:34 +0000 |
commit | 10d3b09bc7a8661c3442752b9145df07373ddbe4 (patch) | |
tree | 44b5b4fb9140e5ab3b84ac8897532338f404febb /science | |
parent | eddc8987a693046c104532c313709e80d0c518b0 (diff) | |
download | FreeBSD-ports-10d3b09bc7a8661c3442752b9145df07373ddbe4.zip FreeBSD-ports-10d3b09bc7a8661c3442752b9145df07373ddbe4.tar.gz |
Now WITH_ATLAS, WITH_BLAS knobs work correctly.
Also pass configure the path to libeiof.
Diffstat (limited to 'science')
-rw-r--r-- | science/elmer-fem/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/science/elmer-fem/Makefile b/science/elmer-fem/Makefile index 1f7cfde..3423171 100644 --- a/science/elmer-fem/Makefile +++ b/science/elmer-fem/Makefile @@ -50,7 +50,7 @@ WITH_ATLAS= yes .if defined(WITH_ATLAS) LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas BLAS= -lf77blas -latlas -LAPACK= -lalapack +LAPACK= -lalapack -lcblas .else LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas @@ -64,7 +64,10 @@ FCFLAGS+= -fPIC FFLAGS+= -fPIC ${FCFLAGS} .endif CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FCFLAGS="${FCFLAGS}" -CONFIGURE_ARGS+= --with-umfpack="-L${LOCALBASE} -lumfpack_elmer" +CONFIGURE_ARGS+= --with-umfpack="-L${LOCALBASE}/lib -lumfpack_elmer" \ + --with-blas="-L${LOCALBASE}/lib ${BLAS}" \ + --with-lapack="-L${LOCALBASE}/lib ${LAPACK}" \ + --with-eiof="-L${LOCALBASE}/lib -leiof" pre-configure: ${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${WRKSRC}/tests/runtests.in |