git: 80496f42b6a9 - stable/14 - releng-azure: Use port name to install Azure CLI

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Sun, 15 Oct 2023 17:15:33 UTC
The branch stable/14 has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=80496f42b6a9c13664f6228602fd21bf7a4500a5

commit 80496f42b6a9c13664f6228602fd21bf7a4500a5
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2023-08-29 17:39:11 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-10-15 17:14:49 +0000

    releng-azure: Use port name to install Azure CLI
    
    To overcome package name changing on default Python version updates.
    
    Approved by:    gjb (re)
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D41453
    
    (cherry picked from commit 0fe6998d8ad0bf54c237c8f513bf00cab547b561)
---
 release/Makefile.azure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/Makefile.azure b/release/Makefile.azure
index ba996bc15ac6..528371ad076e 100644
--- a/release/Makefile.azure
+++ b/release/Makefile.azure
@@ -38,7 +38,7 @@ azure-check-depends:
 .  if !exists(/usr/local/sbin/pkg-static)
 	env ASSUME_ALWAYS_YES=yes pkg bootstrap -yf
 .  endif
-	env ASSUME_ALWAYS_YES=yes pkg install -y py38-azure-cli
+	env ASSUME_ALWAYS_YES=yes pkg install -y sysutils/py-azure-cli
 . else
 	env UNAME_r=${UNAME_r} make -C ${PORTSDIR}/sysutils/py-azure-cli BATCH=1 all install clean
 . endif