git: f5b9b340c1e7 - main - net/asterisk-g72x: Parameterize CONFLICTS_INSTALL

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 24 Jul 2025 14:29:45 UTC
The branch main has been updated by vvd:

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

commit f5b9b340c1e74d9ba0400c567c828363a2a9a529
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-07-24 14:25:40 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-07-24 14:25:40 +0000

    net/asterisk-g72x: Parameterize CONFLICTS_INSTALL
---
 net/asterisk-g72x/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/asterisk-g72x/Makefile b/net/asterisk-g72x/Makefile
index 31210f0f6733..fd000062c799 100644
--- a/net/asterisk-g72x/Makefile
+++ b/net/asterisk-g72x/Makefile
@@ -23,7 +23,7 @@ USES=		autoreconf compiler:c11 libtool tar:bzip2
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-asterisk160 --with-bcg729
 
-CONFLICTS_INSTALL=	asterisk[0-9][0-9]-g72x
+CONFLICTS_INSTALL=	${FLAVORS:N${FLAVOR}:C|(.+)|\1-${PORTNAME}|}
 
 PLIST_FILES=	lib/asterisk/modules/codec_g729.so