mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
* Migrate to gfortran.
* Bump port revision. Approved by: portmgr(kris)
This commit is contained in:
parent
14fb3bb808
commit
cbebfac849
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182696
@ -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
|
||||
|
@ -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*'])
|
||||
|
Loading…
Reference in New Issue
Block a user