aboutsummaryrefslogtreecommitdiff
path: root/math/libtsnnls
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2011-11-22 11:14:10 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2011-11-22 11:14:10 +0000
commit004a7c5ac21475f760354371ae4f8fca5e556acb (patch)
tree47b9539be8bb171263921a641d850025fee218cc /math/libtsnnls
parentbcfacab8772c0f3bf72412386eb13f58def6bef2 (diff)
downloadports-004a7c5ac21475f760354371ae4f8fca5e556acb.tar.gz
ports-004a7c5ac21475f760354371ae4f8fca5e556acb.zip
adjust linking and comments in dependent ports after the math/atlas update;
math/atlas-devel will be updated to use the same constructs at a later date PR: 162706 Approved by: miwi (portmgr) Feature safe: yes
Notes
Notes: svn path=/head/; revision=286242
Diffstat (limited to 'math/libtsnnls')
-rw-r--r--math/libtsnnls/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/math/libtsnnls/Makefile b/math/libtsnnls/Makefile
index 91a2e9cd2feb..534ac8bd468e 100644
--- a/math/libtsnnls/Makefile
+++ b/math/libtsnnls/Makefile
@@ -23,11 +23,10 @@ OPTIONS= GOTOBLAS "Use gotoblas (conflict with USE_ATLAS)" off \
.include <bsd.port.options.mk>
-WITH_BLAS?=reference
+WITH_BLAS=reference
.if defined(WITH_GOTOBLAS)
WITH_BLAS=gotoblas
-.endif
-.if defined(WITH_ATLAS)
+.elif defined(WITH_ATLAS)
WITH_BLAS=atlas
.endif
@@ -48,8 +47,8 @@ BLAS=-lgoto2p
LAPACK=-lgoto2p
.elif ${WITH_BLAS} == atlas
LIB_DEPENDS+=atlas:${PORTSDIR}/math/atlas
-BLAS=-lptf77blas -lptcblas -latlas_r
-LAPACK=-lalapack_r
+BLAS=-lptf77blas
+LAPACK=-lalapack -lptcblas
.endif
CONFIGURE_ARGS= --with-blas="${BLAS}" --with-lapack="${LAPACK}"