git: 812dfb1d23b8 - main - mail/dovecot-fts-xapian: unbreak build (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 29 Oct 2021 19:41:04 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=812dfb1d23b89b7710394ce79a3029da203a1df5

commit 812dfb1d23b89b7710394ce79a3029da203a1df5
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2021-10-29 19:38:20 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2021-10-29 19:38:20 +0000

    mail/dovecot-fts-xapian: unbreak build (+)
    
    Rely on PKGNAME for distfile name was a bad, BAD idea due to polluting by PORTREVISION.
    Switch to more independed construction.
    
    With hat:       ports-secteam
---
 mail/dovecot-fts-xapian/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail/dovecot-fts-xapian/Makefile b/mail/dovecot-fts-xapian/Makefile
index 644f017a7da0..978dc02be880 100644
--- a/mail/dovecot-fts-xapian/Makefile
+++ b/mail/dovecot-fts-xapian/Makefile
@@ -4,7 +4,7 @@ PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	https://github.com/grosjo/fts-xapian/releases/download/${DISTVERSION}/
 PKGNAMEPREFIX=	dovecot-
-DISTNAME=	${PKGNAME}
+DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${DISTVERSION}
 
 MAINTAINER=	otis@FreeBSD.org
 COMMENT=	Dovecot FTS plugin based on Xapian