pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/kde-workspace4



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug 19 07:00:46 UTC 2024

Modified Files:
        pkgsrc/x11/kde-workspace4: Makefile

Log Message:
kde-workspace4: fix packaging with Python 3.12


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 pkgsrc/x11/kde-workspace4/Makefile

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

Modified files:

Index: pkgsrc/x11/kde-workspace4/Makefile
diff -u pkgsrc/x11/kde-workspace4/Makefile:1.117 pkgsrc/x11/kde-workspace4/Makefile:1.118
--- pkgsrc/x11/kde-workspace4/Makefile:1.117    Wed May 29 16:35:01 2024
+++ pkgsrc/x11/kde-workspace4/Makefile  Mon Aug 19 07:00:46 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.117 2024/05/29 16:35:01 adam Exp $
+# $NetBSD: Makefile,v 1.118 2024/08/19 07:00:46 wiz Exp $
 
 DISTNAME=      kde-workspace-4.11.22
 PKGNAME=       ${DISTNAME:S/-4/4-4/}
@@ -68,6 +68,12 @@ REPLACE_SH+=         libs/plasmagenericshell/wi
 
 PY_PATCHPLIST= yes
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} > 311
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+.endif
+
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 



Home | Main Index | Thread Index | Old Index