aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-05-20 14:14:09 +0800
committerbsam <bsam@FreeBSD.org>2013-05-20 14:14:09 +0800
commitabb5ec3b2909cec8b74253d2958732d706b9c4d9 (patch)
treeb47fbd58de2fef25ae1bfb6872f186277bea889b /net-mgmt
parent4ffec032ac4c1b2c461ebe124b1f07c142e5c839 (diff)
downloadfreebsd-ports-gnome-abb5ec3b2909cec8b74253d2958732d706b9c4d9.tar.gz
freebsd-ports-gnome-abb5ec3b2909cec8b74253d2958732d706b9c4d9.tar.zst
freebsd-ports-gnome-abb5ec3b2909cec8b74253d2958732d706b9c4d9.zip
Optionify libnotify dependency.
PR: ports/178697 Submitted by: Benjamin Lee <ben@b1c1l1.com> Patch by: Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/collectd5/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index 3ea5fb637fcb..1036781cdba4 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -3,15 +3,13 @@
PORTNAME= collectd
PORTVERSION= 5.2.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= http://collectd.org/files/
MAINTAINER= ports@bsdserwis.com
COMMENT= Systems & network statistics collection daemon
-LIB_DEPENDS= notify:${PORTSDIR}/devel/libnotify
-
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -50,7 +48,7 @@ MBMON_DESC= MBMon
MEMCACHED_DESC= Memcached
MODBUS_DESC= Modbus support via libmodbus
MYSQL_DESC= MySQL
-NOTIFYEMAIL_DESC= Email notifications (libesmtp)
+NOTIFYEMAIL_DESC= Email notifications (libesmtp, libnotify)
NGINX_DESC= Nginx
OPENVPN_DESC= OpenVPN statistics
PDNS_DESC= PowerDNS
@@ -120,7 +118,6 @@ CONFIGURE_ARGS= --localstatedir=/var \
--disable-netlink \
--disable-nfs \
--disable-notify_desktop \
- --disable-notify_email \
--disable-olsrd \
--disable-onewire \
--disable-oracle \
@@ -320,6 +317,7 @@ PLIST_SUB+= IPMI="@comment "
.if ${PORT_OPTIONS:MNOTIFYEMAIL}
LIB_DEPENDS+= esmtp:${PORTSDIR}/mail/libesmtp
+LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=--enable-notify_email
CONFIGURE_ARGS+=--with-libesmtp=${PREFIX}
PLIST_SUB+= NOTIFYEMAIL=""