git: b4dd5ff5f4f1 - main - pkgbase: Avoid hard-coding the package prefix in generate-ucl.sh

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 26 Aug 2024 21:02:08 UTC
The branch main has been updated by markj:

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

commit b4dd5ff5f4f159a566c64e3348e67c33b80f2bbf
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-08-26 20:46:53 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-08-26 20:49:50 +0000

    pkgbase: Avoid hard-coding the package prefix in generate-ucl.sh
    
    MFC after:      1 week
    Sponsored by:   Innovate UK
---
 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 27adddad96c0..72db4a3180b8 100755
--- a/release/packages/generate-ucl.sh
+++ b/release/packages/generate-ucl.sh
@@ -136,7 +136,7 @@ main() {
 		echo 'deps: {' >> ${uclfile}
 		for dep in ${pkgdeps}; do
 			cat <<EOF >> ${uclfile}
-	FreeBSD-${dep}: {
+	${PKG_NAME_PREFIX}-${dep}: {
 		origin: "base",
 		version: "${PKG_VERSION}"
 	}