diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index da77b3ef09df..c5818c72bdd0 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 .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 b5c52e190285..c0615d0d0386 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*'])