git: 5c35cbe93da0 - main - sysutils/u-boot-utilite: Deprecate port

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Fri, 24 Feb 2023 10:17:50 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c35cbe93da05bd8243721adcfc1d9015be7eab6

commit 5c35cbe93da05bd8243721adcfc1d9015be7eab6
Author:     Martin Waschbüsch <martin@waschbuesch.de>
AuthorDate: 2023-02-24 09:24:08 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2023-02-24 10:17:26 +0000

    sysutils/u-boot-utilite: Deprecate port
    
    Deprecate port and set expiration date.
    
    While here, also sort some variables, which might be useful if the port
    is saved from expiration or resurrected later.
    
    PR:             269661
    Reported by:    salvadore
---
 sysutils/u-boot-utilite/Makefile | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/sysutils/u-boot-utilite/Makefile b/sysutils/u-boot-utilite/Makefile
index e2900bce263e..9e2d5afa22df 100644
--- a/sysutils/u-boot-utilite/Makefile
+++ b/sysutils/u-boot-utilite/Makefile
@@ -14,28 +14,31 @@ WWW=		https://www.denx.de/wiki/U-Boot
 
 LICENSE=	GPLv2
 
+DEPRECATED=	This port depends on the long time unsupported upstream devel/arm-none-eabi-gcc492.
+EXPIRATION_DATE=	2023-04-30
+
 BUILD_DEPENDS=	${CROSS_GCC}:devel/arm-none-eabi-gcc492
 
-CROSS_GCC=	arm-none-eabi-gcc-4.9.2
+USES=		gmake
+
+MAKE_ARGS+=     ARCH=arm \
+                CC=${CROSS_GCC} \
+                CROSS_COMPILE=arm-none-eabi- \
+                HOSTCC=cc
 
 EXTRA_PATCHES=	${WRKDIR}/cm-fx6-u-boot/u-boot/u-boot-2015.07-cm-fx6-3.patch:-p1
 
 NO_ARCH=	yes
 
-USES=		gmake
-
 PORTSCOUT=	ignore:1
 
 U_BOOT_DIR=	share/u-boot/${PORTNAME}${PKGNAMESUFFIX}
 
-MAKE_ARGS+=	ARCH=arm \
-		CC=${CROSS_GCC} \
-		CROSS_COMPILE=arm-none-eabi- \
-		HOSTCC=cc
-
 do-configure:
 	cd ${WRKSRC}; ${MAKE_CMD} ${MAKE_ARGS} cm_fx6_config
 
+CROSS_GCC=	arm-none-eabi-gcc-4.9.2
+
 # The build results in two output files: SPL, and u-boot.img.
 # Combine them into a single u-boot.imx so that there is only one file to be
 # copied onto the boot media starting at a 1K offset on the disk.