aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2017-05-05 22:42:02 +0800
committermiwi <miwi@FreeBSD.org>2017-05-05 22:42:02 +0800
commit72a45091588af46abe59106bce29fb18b63af304 (patch)
treeff94fedd1bf3818b13545d06de9912924633559a /science
parentcbcba337a124a4cc6b84e50b571273476c536df2 (diff)
downloadfreebsd-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/Makefile4
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