From fa3de0f2301480fb4578e4281050ee0ab7c60f62 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 31 Oct 2013 11:30:42 +0000 Subject: [PATCH] Fix pkgname collision With hat: portmgr --- net-mgmt/nsca/Makefile | 7 +++---- net-mgmt/nsca27/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/net-mgmt/nsca/Makefile b/net-mgmt/nsca/Makefile index 707a7384c7e1..79d13a5489d8 100644 --- a/net-mgmt/nsca/Makefile +++ b/net-mgmt/nsca/Makefile @@ -18,11 +18,10 @@ LICENSE= GPLv2 LIB_DEPENDS= mcrypt:${PORTSDIR}/security/libmcrypt .if !defined(_BUILDING_NSCA_CLIENT) -LATEST_LINK= nsca -CONFLICTS= nsca-2.7.* +CONFLICTS= nsca-2.7.* nsca27-* .else -LATEST_LINK= nsca-client -CONFLICTS= nsca-client-2.7.* +PKGNAMESUFFIX- -client +CONFLICTS= nsca-client-2.7.* nsca27-* .endif GNU_CONFIGURE= yes diff --git a/net-mgmt/nsca27/Makefile b/net-mgmt/nsca27/Makefile index d2f06c079a0d..17095848c153 100644 --- a/net-mgmt/nsca27/Makefile +++ b/net-mgmt/nsca27/Makefile @@ -18,10 +18,10 @@ LICENSE= GPLv2 LIB_DEPENDS= mcrypt:${PORTSDIR}/security/libmcrypt .if !defined(_BUILDING_NSCA_CLIENT) -LATEST_LINK= nsca27 +PKGNAMESUFFIX= 27 CONFLICTS= nsca-2.9.* .else -LATEST_LINK= nsca27-client +PKGNAMESUFFIX= 27-client CONFLICTS= nsca-client-2.9.* .endif