PKGNAME is defined in the comments as: # PKGNAME - Always defined as # ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}. # Do not define this in your Makefile. "PORTVERSION" should be "PKGVERSION" - "PORTVERSION" doesn't contain any possible port revision.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f5e93027a7200768ccaf1096af70cf657bbaed1 commit 7f5e93027a7200768ccaf1096af70cf657bbaed1 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2021-11-08 13:10:59 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2021-11-08 13:12:25 +0000 Mk/bsd.port.mk: fix misleading comment PR: 258726 Reported by: jamie@catflap.org Mk/bsd.port.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)