git: e6c6f46dd5ea - stable/14 - pkgbase: Avoid hard-coding the package prefix in generate-ucl.sh

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 03 Sep 2024 14:55:02 UTC
The branch stable/14 has been updated by markj:

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

commit e6c6f46dd5ea100f291b49d9d580283d127d54db
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-08-26 20:46:53 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-09-03 14:54:43 +0000

    pkgbase: Avoid hard-coding the package prefix in generate-ucl.sh
    
    MFC after:      1 week
    Sponsored by:   Innovate UK
    
    (cherry picked from commit b4dd5ff5f4f159a566c64e3348e67c33b80f2bbf)
---
 release/packages/generate-ucl.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/packages/generate-ucl.sh b/release/packages/generate-ucl.sh
index c7147a97a868..ec9cd0149228 100755
--- a/release/packages/generate-ucl.sh
+++ b/release/packages/generate-ucl.sh
@@ -133,7 +133,7 @@ main() {
 		echo 'deps: {' >> ${uclfile}
 		for dep in ${pkgdeps}; do
 			cat <<EOF >> ${uclfile}
-	FreeBSD-${dep}: {
+	${PKG_NAME_PREFIX}-${dep}: {
 		origin: "base",
 		version: "${PKG_VERSION}"
 	}