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:		a7490b1dfb
Reported by:	antoine
This commit is contained in:
Cy Schubert
2025-08-08 20:19:47 -07:00
parent d7ef6e8c3e
commit 145fc5b306

View File

@@ -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