summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2007-06-22 20:07:11 +0000
committerdb <db@FreeBSD.org>2007-06-22 20:07:11 +0000
commitdaed577501c4d0cb02041c0b254742fc338737f2 (patch)
tree576ba97dba8b43dd29c021d9fdb44a93f6d49209 /math
parent6add855ad210355aa14d5e6ef181ed435b2a4360 (diff)
downloadFreeBSD-ports-daed577501c4d0cb02041c0b254742fc338737f2.zip
FreeBSD-ports-daed577501c4d0cb02041c0b254742fc338737f2.tar.gz
- Remove support for 4.x
- Fix glitch with gfortran attempting to use libg2c instead of libgfortran [1] - math/py-numpy incorrect post-patch for site-cfg [2] - Update version to 1.0.2 Notified by: kris (via pointyhat) [1] PR: ports/112429 [2] Approved by: ehaupt (mentor)
Diffstat (limited to 'math')
-rw-r--r--math/py-numpy/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index cde89e9..b56331aa 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= numpy
-PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTVERSION= 1.0.2
PORTEPOCH= 1
CATEGORIES= math python
MASTER_SITES= http://numpy.scipy.org/:doc \
@@ -45,10 +44,6 @@ LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack \
blas.2:${PORTSDIR}/math/blas
.endif
-.if ${OSVERSION} < 500000
-BROKEN= does not compile
-.endif
-
pre-fetch:
.if ${PYTHON_REL} < 200
@${ECHO} "Py-numpy doesn't work with Python versions < 2.0."
@@ -68,12 +63,13 @@ post-patch:
@${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg
@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" \
-e "s+%%LOCALBASE%%+${LOCALBASE}+" \
- -e "s+%%ATLASLIBS%%+lapack, blas+" ${WRKSRC}/site.cfg
+ -e "s+%%ATLASLIBS%%+alapack_r, f77blas_r, cblas_r, atlas_r+" \
+ ${WRKSRC}/site.cfg
.else
@${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg
@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" \
-e "s+%%LOCALBASE%%+${LOCALBASE}+" \
- -e "s+%%ATLASLIBS%%+alapack_r, f77blas_r, cblas_r, atlas_r+" \
+ -e "s+%%ATLASLIBS%%+lapack, blas+" \
${WRKSRC}/site.cfg
.endif
@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" ${WRKSRC}/numpy/distutils/system_info.py
OpenPOWER on IntegriCloud