From 4013d79704cd9d6209c9b61690312f795d4f9940 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 16 Sep 2012 15:03:18 +0000 Subject: - use OPTIONS_DEFINE --- net-mgmt/xymon-server/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile index 7cfe4d4cb824..2f9889d38b79 100644 --- a/net-mgmt/xymon-server/Makefile +++ b/net-mgmt/xymon-server/Makefile @@ -66,17 +66,17 @@ MAN8= enadis.cgi.8 xymon-mailack.8 xymoncgimsg.cgi.8 xymond.8 \ xymond_hostdata.8 xymond_rrd.8 xymond_sample.8 xymonfetch.8 \ xymonlaunch.8 xymonproxy.8 msgcache.8 trimhistory.8 -OPTIONS= LDAP "Enable LDAP support" off \ - SNMP "Enable Net-SNMP support" off +OPTIONS_DEFINE=LDAP NETSNMP +NETSNMP_DESC=Enable Net-SNMP support -.include +.include -.if defined(WITH_LDAP) +.if ${PORT_OPTIONS:MLDAP} MAKE_ENV+= WITH_LDAP=1 USE_OPENLDAP= yes .endif -.if defined(WITH_NETSNMP) +.if ${PORT_OPTIONS:MNETSNMP} MAKE_ENV+= WITH_NETSNMP=1 LIB_DEPENDS+= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp .endif @@ -109,4 +109,4 @@ post-install: ${WWWDIR}/server/etc/${i} .endfor -.include +.include -- cgit v1.2.3