diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-09-28 10:40:54 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-09-28 10:40:54 +0000 |
commit | cbd6f0a16af7fa6fa87ca8dc75ba103fb3002794 (patch) | |
tree | ec878bb07984aeb236ad94ae003046f669986a6c /math/py-numpy | |
parent | 52453626a1f1dd94f054204d9a9dc2b92438b295 (diff) | |
download | ports-cbd6f0a16af7fa6fa87ca8dc75ba103fb3002794.tar.gz ports-cbd6f0a16af7fa6fa87ca8dc75ba103fb3002794.zip |
Notes
Diffstat (limited to 'math/py-numpy')
-rw-r--r-- | math/py-numpy/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index afa698ccf9bf..bd323a206888 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -3,7 +3,7 @@ PORTNAME= numpy PORTVERSION= 1.8.1 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= math python MASTER_SITES= http://docs.scipy.org/doc/${PORTNAME}/:doc \ @@ -23,6 +23,7 @@ RUN_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose USES= fortran python USE_PYTHON= concurrent distutils py3kplist +LDFLAGS+= -shared OPTIONS_DEFINE= ATLAS SUITESPARSE DOCS OPTIONS_DEFAULT= SUITESPARSE @@ -48,14 +49,12 @@ PLIST_FILES+= man/man1/f2py.1.gz .endif post-extract: - @${CP} ${DISTDIR}/numpy-ref-${PORTVERSION}.pdf ${WRKDIR} - @${CP} ${DISTDIR}/numpy-user-${PORTVERSION}.pdf ${WRKDIR} + ${CP} ${DISTDIR}/numpy-ref-${PORTVERSION}.pdf ${WRKDIR} + ${CP} ${DISTDIR}/numpy-user-${PORTVERSION}.pdf ${WRKDIR} post-patch: - @${REINPLACE_CMD} -e "s+%%FC%%+${FC}+" ${WRKSRC}/numpy/distutils/fcompiler/gnu.py - @${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg -# ignore LDFLAGS from env, as it overrides internal flags (e.g. -shared) for some reason - @${REINPLACE_CMD} -e "s|'LDFLAGS'|None|" ${WRKSRC}/numpy/distutils/fcompiler/__init__.py + ${REINPLACE_CMD} -e "s+%%FC%%+${FC}+" ${WRKSRC}/numpy/distutils/fcompiler/gnu.py + ${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so|${SED} -e s/libgfortran.so// |