diff options
author | maho <maho@FreeBSD.org> | 2007-01-18 15:07:57 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-18 15:07:57 +0800 |
commit | 2ee929045e50ecb88e93be9718046998894b76b6 (patch) | |
tree | 1006d64e29f097ae30a11fc58c7a76044830cd49 /math | |
parent | d0eb5427825e4ea365909358d2724605b66a4062 (diff) | |
download | freebsd-ports-graphics-2ee929045e50ecb88e93be9718046998894b76b6.tar.gz freebsd-ports-graphics-2ee929045e50ecb88e93be9718046998894b76b6.tar.zst freebsd-ports-graphics-2ee929045e50ecb88e93be9718046998894b76b6.zip |
* Migrate to gfortran.
* Bump port revision.
Approved by: portmgr(kris)
Diffstat (limited to 'math')
-rw-r--r-- | math/py-numpy/Makefile | 7 | ||||
-rw-r--r-- | math/py-numpy/files/patch-numpy-distutils-system_info.py | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index da77b3ef09d..c5818c72bdd 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -7,6 +7,7 @@ PORTNAME= numpy PORTVERSION= 1.0.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= math python MASTER_SITES= http://numpy.scipy.org/:doc \ @@ -34,13 +35,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/r/rc/} .include <bsd.port.pre.mk> .if defined(WITH_ATLAS) -LIB_DEPENDS+= atlas.1:${PORTSDIR}/math/atlas +LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas .if !exists(${LOCALBASE}/lib/libalapack.a) IGNORE= atlas needs to be built with WITH_STATICLIB for numpy to function properly .endif .else -LIB_DEPENDS+= lapack.3:${PORTSDIR}/math/lapack \ - blas.1:${PORTSDIR}/math/blas +LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack \ + blas.2:${PORTSDIR}/math/blas .endif .if ${OSVERSION} < 500000 diff --git a/math/py-numpy/files/patch-numpy-distutils-system_info.py b/math/py-numpy/files/patch-numpy-distutils-system_info.py index b5c52e19028..c0615d0d038 100644 --- a/math/py-numpy/files/patch-numpy-distutils-system_info.py +++ b/math/py-numpy/files/patch-numpy-distutils-system_info.py @@ -5,7 +5,7 @@ for d in lib_dirs: atlas = self.check_libs2(d,atlas_libs,[]) + if atlas is not None: -+ atlas['libraries'].extend(['g2c', 'm', 'pthread']) ++ atlas['libraries'].extend(['gfortran', 'm', 'pthread']) lapack_atlas = self.check_libs2(d,['lapack_atlas'],[]) if atlas is not None: lib_dirs2 = [d] + self.combine_paths(d,['atlas*','ATLAS*']) |