git: a1a616ed9324 - main - net-mgmt/prometheus1: Set CONFLICTS_INSTALL against prometheus 2 and 3

From: Danilo Egea Gondolfo <danilo_at_FreeBSD.org>
Date: Thu, 24 Apr 2025 13:23:17 UTC
The branch main has been updated by danilo:

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

commit a1a616ed932486201f23073472b12ab1b199ad81
Author:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
AuthorDate: 2025-04-24 12:04:06 +0000
Commit:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
CommitDate: 2025-04-24 13:23:02 +0000

    net-mgmt/prometheus1: Set CONFLICTS_INSTALL against prometheus 2 and 3
---
 net-mgmt/prometheus1/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/prometheus1/Makefile b/net-mgmt/prometheus1/Makefile
index 331b3ecfad49..45b8750da12a 100644
--- a/net-mgmt/prometheus1/Makefile
+++ b/net-mgmt/prometheus1/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	prometheus
 PORTVERSION=	1.8.2
 DISTVERSIONPREFIX=	v
-PORTREVISION=	27
+PORTREVISION=	28
 CATEGORIES=	net-mgmt
 PKGNAMESUFFIX=	1
 
@@ -13,6 +13,9 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		cpe go
+
+CONFLICTS_INSTALL=	prometheus prometheus3
+
 USE_GITHUB=	yes
 GH_TUPLE=	golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys_v0.6.0