1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Fix build with gcc5

PR:		218780
This commit is contained in:
Martin Wilke 2017-05-05 14:42:02 +00:00
parent 33c9fc3041
commit 6156ad5ce1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440160

View File

@ -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