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: martin
Date: Wed Nov 11 13:52:43 UTC 2026
Modified Files:
pkgsrc/sysutils/u-boot: u-boot.mk
Log Message:
Extract major.minor from UBOOT_VERSION for numeric comparison
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 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.39 pkgsrc/sysutils/u-boot/u-boot.mk:1.40
--- pkgsrc/sysutils/u-boot/u-boot.mk:1.39 Tue Nov 10 20:53:16 2026
+++ pkgsrc/sysutils/u-boot/u-boot.mk Wed Nov 11 13:52:43 2026
@@ -1,4 +1,4 @@
-# $NetBSD: u-boot.mk,v 1.39 2026/11/10 20:53:16 martin Exp $
+# $NetBSD: u-boot.mk,v 1.40 2026/11/11 13:52:43 martin Exp $
.include "../../sysutils/u-boot/u-boot-version.mk"
@@ -9,7 +9,9 @@ CATEGORIES= sysutils
EXTRACT_SUFX?= .tar.bz2
HOMEPAGE?= https://u-boot-project.org
-.if ${UBOOT_VERSION:U0} > 2026
+
+VERNO=${UBOOT_VERSION:U0:C@\.([0-9]*).*@.\1@}
+.if ${VERNO} > 2026
MASTER_SITES?= https://git.u-boot-project.org/u-boot/u-boot/-/releases/v${UBOOT_VERSION}/downloads/
.else
MASTER_SITES?= ftp://ftp.denx.de/pub/u-boot/
@@ -35,7 +37,7 @@ LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_TOOLS+= bison flex gmake gsed pkg-config gawk
-.if ${UBOOT_VERSION:U0} > 2026
+.if ${VERNO} > 2026
USE_TOOLS+= perl
.endif
PYTHON_FOR_BUILD_ONLY= yes
@@ -56,7 +58,7 @@ ALL_ENV+= PYTHONLIBPATH=-L${PREFIX}/lib
UBOOT_ENV+= UBOOT_PKGREVISION=nb${PKGREVISION}
.endif
-.if ${UBOOT_VERSION:U0} > 2026
+.if ${VERNO} > 2026
WRKSRC= ${WRKDIR}/u-boot-v${UBOOT_VERSION}
.endif
Home |
Main Index |
Thread Index |
Old Index