mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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
2 changed files with 5 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= numpy
|
PORTNAME= numpy
|
||||||
PORTVERSION= 1.0.1
|
PORTVERSION= 1.0.1
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= math python
|
CATEGORIES= math python
|
||||||
MASTER_SITES= http://numpy.scipy.org/:doc \
|
MASTER_SITES= http://numpy.scipy.org/:doc \
|
||||||
|
@ -34,13 +35,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/r/rc/}
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if defined(WITH_ATLAS)
|
.if defined(WITH_ATLAS)
|
||||||
LIB_DEPENDS+= atlas.1:${PORTSDIR}/math/atlas
|
LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
|
||||||
.if !exists(${LOCALBASE}/lib/libalapack.a)
|
.if !exists(${LOCALBASE}/lib/libalapack.a)
|
||||||
IGNORE= atlas needs to be built with WITH_STATICLIB for numpy to function properly
|
IGNORE= atlas needs to be built with WITH_STATICLIB for numpy to function properly
|
||||||
.endif
|
.endif
|
||||||
.else
|
.else
|
||||||
LIB_DEPENDS+= lapack.3:${PORTSDIR}/math/lapack \
|
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack \
|
||||||
blas.1:${PORTSDIR}/math/blas
|
blas.2:${PORTSDIR}/math/blas
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${OSVERSION} < 500000
|
.if ${OSVERSION} < 500000
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
for d in lib_dirs:
|
for d in lib_dirs:
|
||||||
atlas = self.check_libs2(d,atlas_libs,[])
|
atlas = self.check_libs2(d,atlas_libs,[])
|
||||||
+ if atlas is not None:
|
+ 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'],[])
|
lapack_atlas = self.check_libs2(d,['lapack_atlas'],[])
|
||||||
if atlas is not None:
|
if atlas is not None:
|
||||||
lib_dirs2 = [d] + self.combine_paths(d,['atlas*','ATLAS*'])
|
lib_dirs2 = [d] + self.combine_paths(d,['atlas*','ATLAS*'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue