git: 0fe6998d8ad0 - main - releng-azure: Use port name to install Azure CLI

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 29 Aug 2023 17:43:12 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=0fe6998d8ad0bf54c237c8f513bf00cab547b561

commit 0fe6998d8ad0bf54c237c8f513bf00cab547b561
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2023-08-29 17:39:11 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-08-29 17:39:11 +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
---
 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