pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libplist



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 17 09:19:56 UTC 2024

Modified Files:
        pkgsrc/textproc/libplist: Makefile

Log Message:
libplist: fix build with Python 3.12


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/textproc/libplist/Makefile

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

Modified files:

Index: pkgsrc/textproc/libplist/Makefile
diff -u pkgsrc/textproc/libplist/Makefile:1.40 pkgsrc/textproc/libplist/Makefile:1.41
--- pkgsrc/textproc/libplist/Makefile:1.40      Wed May 29 16:34:37 2024
+++ pkgsrc/textproc/libplist/Makefile   Sat Aug 17 09:19:56 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2024/05/29 16:34:37 adam Exp $
+# $NetBSD: Makefile,v 1.41 2024/08/17 09:19:56 wiz Exp $
 
 DISTNAME=      libplist-2.2.0
 PKGREVISION=   6
@@ -24,6 +24,12 @@ PY_PATCHPLIST=                       yes
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} > 311
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+.endif
+
 .include "../../devel/py-cython/buildlink3.mk"
 .include "../../devel/py-cython/tool.mk"
 .include "../../lang/python/extension.mk"



Home | Main Index | Thread Index | Old Index