pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/dbus-python-common



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug  9 09:05:11 UTC 2023

Modified Files:
        pkgsrc/sysutils/dbus-python-common: Makefile

Log Message:
dbus-python-common: Depend on python-as-tool using tool.mk.

The build system expects an unversioned "python" executable to be
available and in pkgsrc we do this through tool.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/sysutils/dbus-python-common/Makefile

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

Modified files:

Index: pkgsrc/sysutils/dbus-python-common/Makefile
diff -u pkgsrc/sysutils/dbus-python-common/Makefile:1.30 pkgsrc/sysutils/dbus-python-common/Makefile:1.31
--- pkgsrc/sysutils/dbus-python-common/Makefile:1.30    Mon Aug  7 05:16:06 2023
+++ pkgsrc/sysutils/dbus-python-common/Makefile Wed Aug  9 09:05:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2023/08/07 05:16:06 adam Exp $
+# $NetBSD: Makefile,v 1.31 2023/08/09 09:05:11 nia Exp $
 
 DISTNAME=      dbus-python-1.3.2
 PKGNAME=       ${DISTNAME:S/python/python-common/}
@@ -12,7 +12,7 @@ LICENSE=      mit
 
 CONFLICTS+=    py[0-9]*-dbus<1.1.1
 
-PYTHON_FOR_BUILD_ONLY=         yes
+PYTHON_FOR_BUILD_ONLY=         tool
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_TOOLS+=            pkg-config gmake
@@ -31,8 +31,8 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/dbus-python.pc \
                ${DESTDIR}${PREFIX}/lib/pkgconfig
 
+.include "../../lang/python/tool.mk"
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../lang/python/pyversion.mk"
 BUILDLINK_API_DEPENDS.dbus+=   dbus>=1.0
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index