svn commit: r361175 - head/net/ptpd2
Jung-uk Kim
jkim at FreeBSD.org
Tue Jul 8 06:19:30 UTC 2014
Author: jkim
Date: Tue Jul 8 06:19:30 2014
New Revision: 361175
URL: http://svnweb.freebsd.org/changeset/ports/361175
QAT: https://qat.redports.org/buildarchive/r361175/
Log:
Add an option to turn on/off SNMP support (enabled by default).
PR: 191228
Approved by: skreuzer (maintainer, timeout > 2 weeks)
Modified:
head/net/ptpd2/Makefile
Modified: head/net/ptpd2/Makefile
==============================================================================
--- head/net/ptpd2/Makefile Tue Jul 8 06:13:23 2014 (r361174)
+++ head/net/ptpd2/Makefile Tue Jul 8 06:19:30 2014 (r361175)
@@ -14,8 +14,6 @@ LICENSE= BSD2CLAUSE
CONFLICTS= ptpd2-devel.*
-LIB_DEPENDS+= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
-
ETCDIR= ${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX}
USES= gmake
@@ -26,7 +24,11 @@ PORTDOCS= *
USE_RC_SUBR= ptpd2
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS SNMP
+OPTIONS_DEFAULT=DOCS SNMP
+
+SNMP_CONFIGURE_ENABLE= snmp
+SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
.include <bsd.port.options.mk>
More information about the svn-ports-all
mailing list