git: 145fc5b3063d - main - security/krb5-122: Fix package name when not a slave port

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sat, 09 Aug 2025 03:21:26 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=145fc5b3063d1ab9649bc4f820323da17fc8c76c

commit 145fc5b3063d1ab9649bc4f820323da17fc8c76c
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-08-09 03:19:47 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-08-09 03:19:47 +0000

    security/krb5-122: Fix package name when not a slave port
    
    When not a slave port this port must have 122 appended to it giving it
    a unique package name.
    
    Fixes:          a7490b1dfbd5
    Reported by:    antoine
---
 security/krb5-122/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/krb5-122/Makefile b/security/krb5-122/Makefile
index 08ee5eb50c71..f68506489590 100644
--- a/security/krb5-122/Makefile
+++ b/security/krb5-122/Makefile
@@ -3,7 +3,7 @@ PORTVERSION=		1.22
 CATEGORIES=		security
 MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
-PKGNAME_X=		-${FLAVOR:S/default//}-121
+PKGNAME_X=		-${FLAVOR:S/default//}-122
 .else
 PKGNAME_X=		-${FLAVOR:S/default//}
 .endif