pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot Add a TOOL_DEPENDS on py-setuptools wh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e7952708c0f
branches:  trunk
changeset: 382479:5e7952708c0f
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Fri Jul 29 13:47:36 2022 +0000

description:
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).

diffstat:

 sysutils/u-boot/u-boot.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c0868154d60c -r 5e7952708c0f sysutils/u-boot/u-boot.mk
--- a/sysutils/u-boot/u-boot.mk Fri Jul 29 13:14:59 2022 +0000
+++ b/sysutils/u-boot/u-boot.mk Fri Jul 29 13:47:36 2022 +0000
@@ -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 @@
 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