summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-10-21 19:43:07 +0000
committernia <nia@pkgsrc.org>2020-10-21 19:43:07 +0000
commitf666315a5f6587e9bd55d03c3591a6569219afc6 (patch)
tree31a48e90ee035bd1a1c210c714498e7a335ce60d /math
parent31ca30cb90a0c59fd7c7d8ea534c61c4ca86678a (diff)
downloadpkgsrc-f666315a5f6587e9bd55d03c3591a6569219afc6.tar.gz
py-numpy: Assumes the compiler defaults to c99. Force -std=c99.
Diffstat (limited to 'math')
-rw-r--r--math/py-numpy/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index ac51ec863dd..ed94c99c731 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2020/10/12 21:51:58 bacon Exp $
+# $NetBSD: Makefile,v 1.72 2020/10/21 19:43:07 nia Exp $
DISTNAME= numpy-1.19.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,7 +16,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-USE_LANGUAGES= c fortran
+# error: 'for' loop initial declarations are only allowed in C99 mode
+USE_LANGUAGES= c99 fortran
MAKE_ENV+= ATLAS=None
REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py