diff options
author | miwi <miwi@FreeBSD.org> | 2017-05-05 22:42:02 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2017-05-05 22:42:02 +0800 |
commit | 72a45091588af46abe59106bce29fb18b63af304 (patch) | |
tree | ff94fedd1bf3818b13545d06de9912924633559a /science | |
parent | cbcba337a124a4cc6b84e50b571273476c536df2 (diff) | |
download | freebsd-ports-gnome-72a45091588af46abe59106bce29fb18b63af304.tar.gz freebsd-ports-gnome-72a45091588af46abe59106bce29fb18b63af304.tar.zst freebsd-ports-gnome-72a45091588af46abe59106bce29fb18b63af304.zip |
- Fix build with gcc5
PR: 218780
Diffstat (limited to 'science')
-rw-r--r-- | science/py-scipy/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile index b4a02628a10b..782b0deabbea 100644 --- a/science/py-scipy/Makefile +++ b/science/py-scipy/Makefile @@ -3,7 +3,7 @@ PORTNAME= scipy PORTVERSION= 0.19.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science python MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \ CHEESESHOP:source \ @@ -35,6 +35,8 @@ PORTDOCS= scipy-ref-${PORTVERSION}.pdf post-extract: @${CP} ${DISTDIR}/scipy-ref-${PORTVERSION}.pdf ${WRKDIR} + # Syntax error with GCC5. + ${REINPLACE_CMD} -e "s|) IF(| .AND. |" ${WRKSRC}/scipy/odr/odrpack/d_lpkbls.f # This line help fix the plist error because autoplist list it as a file but it is a directory @cd ${WRKSRC}/scipy/stats/tests/data && ${TOUCH} tmp |