summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-02-13 11:04:03 -0800
committerCy Schubert <cy@FreeBSD.org>2024-02-13 11:04:03 -0800
commit65c4c67f4d1d5d2fc4bb2b2312142ec7925d671f (patch)
treee2b4aed2cdf6519151fe43e98e445a194f051649
parent9926898a0c052d79aaa08708e3249fc39e633174 (diff)
downloadfreebsd-ports-65c4c67f4d1d5d2fc4bb2b2312142ec7925d671f.zip
security/krb5-devel: Don't adjust default package name
Avoid changing the default package name when default flavor is built.
-rw-r--r--security/krb5-devel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/krb5-devel/Makefile b/security/krb5-devel/Makefile
index c5183994deff..2ee1b9c5b3ba 100644
--- a/security/krb5-devel/Makefile
+++ b/security/krb5-devel/Makefile
@@ -2,8 +2,12 @@ PORTNAME= krb5
PORTVERSION= 1.22.${MIT_COMMIT_DATE}
CATEGORIES= security
.if !defined(MASTERDIR)
-PKGNAMESUFFIX= -${FLAVOR}-devel
+PKGNAME_X= -${FLAVOR:S/default//}-devel
+.else
+PKGNAME_X= -${FLAVOR:S/default//}
.endif
+PKGNAMESUFFIX= ${PKGNAME_X:S/--/-/:C/-$//}
+
HASH= f5ad07bd3
MIT_COMMIT_DATE= 2024.01.24