diff options
author | Maho Nakata <maho@FreeBSD.org> | 2007-01-16 02:58:51 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2007-01-16 02:58:51 +0000 |
commit | 89df580f48536f530ec395ab5338fbf6f1f4b4e2 (patch) | |
tree | 22596550188b2b7c88c492b802ce53f9fccc2940 /math | |
parent | Remove CONFLICT line as elmer-mathlibs are deprecated by migration (diff) |
* Fix build [1]
* Now atlas/blas/lapack are detected correctly.
Reported by: kris via pointyhat [1]
Notes
Notes:
svn path=/head/; revision=182476
Diffstat (limited to 'math')
-rw-r--r-- | math/taucs/Makefile | 17 |
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 |