pkgsrc-Changes archive

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

CVS commit: pkgsrc/filesystems/glusterfs



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug 19 06:08:08 UTC 2024

Modified Files:
        pkgsrc/filesystems/glusterfs: Makefile

Log Message:
glusterfs: fix packaging with Python 3.12


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 pkgsrc/filesystems/glusterfs/Makefile

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

Modified files:

Index: pkgsrc/filesystems/glusterfs/Makefile
diff -u pkgsrc/filesystems/glusterfs/Makefile:1.125 pkgsrc/filesystems/glusterfs/Makefile:1.126
--- pkgsrc/filesystems/glusterfs/Makefile:1.125 Tue Aug  6 18:54:01 2024
+++ pkgsrc/filesystems/glusterfs/Makefile       Mon Aug 19 06:08:08 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2024/08/06 18:54:01 riastradh Exp $
+# $NetBSD: Makefile,v 1.126 2024/08/19 06:08:08 wiz Exp $
 
 DISTNAME=      glusterfs-10.4
 PKGREVISION=   7
@@ -156,6 +156,13 @@ post-install:
            ${DESTDIR}/${PREFIX}/sbin/mount_glusterfs
 .endif
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} > 311
+# uses distutils in configure
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+.endif
+
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../devel/argp/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index