pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/u-boot



Module Name:    pkgsrc
Committed By:   thorpej
Date:           Fri Jul 29 13:47:37 UTC 2022

Modified Files:
        pkgsrc/sysutils/u-boot: u-boot.mk

Log Message:
Add a TOOL_DEPENDS on py-setuptools when building any 2022-or-later
u-boot (this appears to be required at least on 2022.04 when building
for sunxi).


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/sysutils/u-boot/u-boot.mk

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

Modified files:

Index: pkgsrc/sysutils/u-boot/u-boot.mk
diff -u pkgsrc/sysutils/u-boot/u-boot.mk:1.35 pkgsrc/sysutils/u-boot/u-boot.mk:1.36
--- pkgsrc/sysutils/u-boot/u-boot.mk:1.35       Sun Mar 27 17:27:59 2022
+++ pkgsrc/sysutils/u-boot/u-boot.mk    Fri Jul 29 13:47:36 2022
@@ -1,4 +1,4 @@
-# $NetBSD: u-boot.mk,v 1.35 2022/03/27 17:27:59 tnn Exp $
+# $NetBSD: u-boot.mk,v 1.36 2022/07/29 13:47:36 thorpej Exp $
 
 .include "../../sysutils/u-boot/u-boot-version.mk"
 
@@ -34,6 +34,12 @@ USE_TOOLS+=          bison flex gmake gsed pkg-c
 PYTHON_FOR_BUILD_ONLY= yes
 .include "../../lang/python/tool.mk"
 
+# XXX May need to cast a wider net, but at least 2022.04 requires
+# this when building for sunxi.
+.if !empty(UBOOT_VERSION:M202[2-9].*)
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+.endif
+
 .if ${PYPKGPREFIX} == "py27"
 ALL_ENV+=              PYTHON2=${PYTHONBIN} PYTHONCONFIG=${PYTHONCONFIG}
 .else



Home | Main Index | Thread Index | Old Index