pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul 20 21:07:13 UTC 2023

Modified Files:
        pkgsrc/math/py-numpy: Makefile buildlink3.mk

Log Message:
py-numpy: Requires a C++17 compiler.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 pkgsrc/math/py-numpy/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/math/py-numpy/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.106 pkgsrc/math/py-numpy/Makefile:1.107
--- pkgsrc/math/py-numpy/Makefile:1.106 Mon Jul 10 13:38:10 2023
+++ pkgsrc/math/py-numpy/Makefile       Thu Jul 20 21:07:12 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2023/07/10 13:38:10 adam Exp $
+# $NetBSD: Makefile,v 1.107 2023/07/20 21:07:12 nia Exp $
 
 DISTNAME=      numpy-1.25.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -17,7 +17,9 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]
 TEST_DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.2.0:../../devel/py-typing-extensions
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99 c++11 fortran
+USE_LANGUAGES=         c99 c++ fortran
+
+USE_CXX_FEATURES+=     c++17
 
 .include "../../math/py-numpy/make_env.mk"
 

Index: pkgsrc/math/py-numpy/buildlink3.mk
diff -u pkgsrc/math/py-numpy/buildlink3.mk:1.18 pkgsrc/math/py-numpy/buildlink3.mk:1.19
--- pkgsrc/math/py-numpy/buildlink3.mk:1.18     Sat Jul  1 08:38:26 2023
+++ pkgsrc/math/py-numpy/buildlink3.mk  Thu Jul 20 21:07:12 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.18 2023/07/01 08:38:26 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2023/07/20 21:07:12 nia Exp $
 
 BUILDLINK_TREE+=       py-numpy
 
 .if !defined(PY_NUMPY_BUILDLINK3_MK)
 PY_NUMPY_BUILDLINK3_MK:=
 
+USE_CXX_FEATURES+=     c++17
+
 .include "../../lang/python/pyversion.mk"
 
 BUILDLINK_API_DEPENDS.py-numpy+=       ${PYPKGPREFIX}-numpy>=1.0



Home | Main Index | Thread Index | Old Index