diff --git a/net/corosync2/Makefile b/net/corosync2/Makefile index 8d3face513d3..f7b56d851d58 100644 --- a/net/corosync2/Makefile +++ b/net/corosync2/Makefile @@ -1,12 +1,13 @@ # Created by: David Shane Holden # $FreeBSD$ PORTVERSION= 2.4.5 PORTREVISION= 1 PKGNAMESUFFIX= 2 -.include "${.CURDIR}/Makefile.common" - CONFLICTS= corosync3-[0-9]* +PORTSCOUT= limit:^2*\.[4-9]*\.[0-9]*$$ + +.include "${.CURDIR}/Makefile.common" .include diff --git a/net/corosync2/Makefile.common b/net/corosync2/Makefile.common index 2a4004f08ba5..24eb89815d93 100644 --- a/net/corosync2/Makefile.common +++ b/net/corosync2/Makefile.common @@ -1,43 +1,41 @@ # Created by: David Shane Holden # $FreeBSD$ PORTNAME= corosync CATEGORIES= net MASTER_SITES= http://build.clusterlabs.org/corosync/releases/ MAINTAINER= egypcio@FreeBSD.org COMMENT= Corosync Cluster Engine LICENSE= BSD3CLAUSE LIB_DEPENDS= libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libqb.so:devel/libqb TEST_DEPENDS= augparse:textproc/augeas USES= gmake groff libtool pathfix pkgconfig USE_BINUTILS= yes USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} ${PORTNAME}-notifyd GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-secure-build LDFLAGS+= -B${LOCALBASE}/bin INSTALL_TARGET= install-strip TEST_TARGET= check -PORTSCOUT= limit:^2*\.[4-9]*\.[0-9]*$$ - OPTIONS_DEFINE= DBUS DOCS SNMP OPTIONS_SUB= yes DBUS_LIB_DEPENDS+= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus SNMP_LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_ENABLE= snmp post-install: ${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync ${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync-notifyd ${RMDIR} ${STAGEDIR}${PREFIX}/etc/init.d