summaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix2-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix2-server/Makefile')
-rw-r--r--net-mgmt/zabbix2-server/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/net-mgmt/zabbix2-server/Makefile b/net-mgmt/zabbix2-server/Makefile
index f9af9a062460..55f76554a9ef 100644
--- a/net-mgmt/zabbix2-server/Makefile
+++ b/net-mgmt/zabbix2-server/Makefile
@@ -20,11 +20,7 @@ LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
-CONFLICTS= ${PKGBASE}-1.[0-8]*
-
-.if ${PKGNAMESUFFIX} != "-agent"
-CONFLICTS+= ${PORTNAME}-1.[0-8]*
-.endif
+CONFLICTS= zabbix[0-9][0-9]${PKGNAMESUFFIX}-[0-9]* zabbix[0-13-9]${PKGNAMESUFFIX}-[0-9]*
ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}