From 507d1b967a80bc590c4709be98670b4baed27989 Mon Sep 17 00:00:00 2001 From: maho Date: Tue, 16 Jan 2007 02:58:51 +0000 Subject: * Fix build [1] * Now atlas/blas/lapack are detected correctly. Reported by: kris via pointyhat [1] --- math/taucs/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'math') 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 + +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 .if ${ARCH} == "sparc64" PICFLAG?= -fPIC .else -- cgit