pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-numpy py-numpy: Assumes the compiler defaults ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21bf6573ea88
branches:  trunk
changeset: 440939:21bf6573ea88
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Oct 21 19:43:07 2020 +0000

description:
py-numpy: Assumes the compiler defaults to c99. Force -std=c99.

diffstat:

 math/py-numpy/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9ca0adcbfdbb -r 21bf6573ea88 math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Wed Oct 21 19:39:53 2020 +0000
+++ b/math/py-numpy/Makefile    Wed Oct 21 19:43:07 2020 +0000
@@ -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}-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



Home | Main Index | Thread Index | Old Index