aboutsummaryrefslogtreecommitdiffstats
path: root/math/blocksolve95
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2011-11-22 19:14:10 +0800
committerBrendan Fabeny <bf@FreeBSD.org>2011-11-22 19:14:10 +0800
commit004a7c5ac21475f760354371ae4f8fca5e556acb (patch)
tree47b9539be8bb171263921a641d850025fee218cc /math/blocksolve95
parentbcfacab8772c0f3bf72412386eb13f58def6bef2 (diff)
downloadfreebsd-ports-gnome-004a7c5ac21475f760354371ae4f8fca5e556acb.tar.gz
freebsd-ports-gnome-004a7c5ac21475f760354371ae4f8fca5e556acb.tar.zst
freebsd-ports-gnome-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
Diffstat (limited to 'math/blocksolve95')
-rw-r--r--math/blocksolve95/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/blocksolve95/Makefile b/math/blocksolve95/Makefile
index 78d769a7b762..bd8a32b623ac 100644
--- a/math/blocksolve95/Makefile
+++ b/math/blocksolve95/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= ${MPIDIR}/bin/mpirun:${PORTSDIR}/net/mpich2
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ARGS= GMAKE=${GMAKE} PETSC_ARCH=${PETSC_ARCH} BOPT=${BOPT} \
- BLAS_LIB=${BLAS_LIB} LAPACK_LIB=${LAPACK_LIB}
+ BLAS_LIB="${BLAS_LIB}" LAPACK_LIB="${LAPACK_LIB}"
MPIDIR= ${LOCALBASE}
PETSC_ARCH= freebsd
@@ -39,18 +39,18 @@ PORTDOCS= manual.ps
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
+.if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif
.if defined(WITH_ATLAS)
LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
-BLAS_LIB= "-lf77blas -latlas -lm"
-LAPACK_LIB= "-L${LOCALBASE}/lib -lalapack"
+BLAS_LIB= -lf77blas
+LAPACK_LIB= -L${LOCALBASE}/lib -lalapack -lcblas
.else
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
-BLAS_LIB= "-lblas -lm"
-LAPACK_LIB= "-L${LOCALBASE}/lib -llapack"
+BLAS_LIB= -lblas
+LAPACK_LIB= -L${LOCALBASE}/lib -llapack
.endif
do-install: