pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-sqlite3



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Wed Jun 28 14:05:32 UTC 2023

Modified Files:
        pkgsrc/databases/py-sqlite3: Makefile

Log Message:
databases/py-sqlite3: Need c99 for `for (const char *pos = ...'.

New as of Python 3.10.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/databases/py-sqlite3/Makefile

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

Modified files:

Index: pkgsrc/databases/py-sqlite3/Makefile
diff -u pkgsrc/databases/py-sqlite3/Makefile:1.47 pkgsrc/databases/py-sqlite3/Makefile:1.48
--- pkgsrc/databases/py-sqlite3/Makefile:1.47   Wed Apr 19 08:09:33 2023
+++ pkgsrc/databases/py-sqlite3/Makefile        Wed Jun 28 14:05:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2023/04/19 08:09:33 adam Exp $
+# $NetBSD: Makefile,v 1.48 2023/06/28 14:05:32 riastradh Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-sqlite3-${PY_DISTVERSION}
 PKGREVISION=   24
@@ -17,6 +17,10 @@ PYSETUPINSTALLARGS+= --install-lib ${PRE
 
 .include "../../lang/python/pyversion.mk"
 
+.if ${PYTHON_VERSION} >= 310
+USE_LANGUAGES+=                c99     # for (const char *pos = ...
+.endif
+
 .if ${PYTHON_VERSION} == 311
 SUBST_CLASSES+=                py311
 SUBST_FILES.py311+=    setup.py



Home | Main Index | Thread Index | Old Index