aboutsummaryrefslogtreecommitdiff
path: root/math/taucs
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-16 02:58:51 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-16 02:58:51 +0000
commit89df580f48536f530ec395ab5338fbf6f1f4b4e2 (patch)
tree22596550188b2b7c88c492b802ce53f9fccc2940 /math/taucs
parent968c3e16c605f1d47bcfa96fe0d8e4e65087dd6d (diff)
downloadports-89df580f48536f530ec395ab5338fbf6f1f4b4e2.tar.gz
ports-89df580f48536f530ec395ab5338fbf6f1f4b4e2.zip
Notes
Diffstat (limited to 'math/taucs')
-rw-r--r--math/taucs/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/math/taucs/Makefile b/math/taucs/Makefile
index 11e35727e941..e19477f255b6 100644
--- a/math/taucs/Makefile
+++ b/math/taucs/Makefile
@@ -16,12 +16,20 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= C library of sparse linear solvers
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+
+.include <bsd.port.pre.mk>
+
+LIB_DEPENDS+= metis.1:${PORTSDIR}/math/metis
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif
.if defined(WITH_ATLAS)
LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
-BLAS= -lf77blas -latlas
+BLAS= -lf77blas -lcblas -latlas
LAPACK= -lalapack
.else
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
@@ -29,19 +37,12 @@ LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
BLAS= -lblas
LAPACK= -llapack
.endif
-LIB_DEPENDS= metis.1:${PORTSDIR}/math/metis
-
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
ALL_TARGET=
-.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
.else