summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/apcupsd/options.mk')
-rw-r--r--sysutils/apcupsd/options.mk12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysutils/apcupsd/options.mk b/sysutils/apcupsd/options.mk
index ddf04b5f197..1e732aa3bdc 100644
--- a/sysutils/apcupsd/options.mk
+++ b/sysutils/apcupsd/options.mk
@@ -1,18 +1,14 @@
-# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:12 jlam Exp $
+# $NetBSD: options.mk,v 1.3 2011/08/01 14:54:51 bouyer Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.apcupsd
-PKG_SUPPORTED_OPTIONS= snmp cgi
-PKG_SUGGESTED_OPTIONS= snmp cgi
+PKG_SUPPORTED_OPTIONS= cgi
+PKG_SUGGESTED_OPTIONS= cgi
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Msnmp)
-. include "../../net/net-snmp/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-snmp # enable SNMP driver
-.endif
-
PLIST_VARS+= cgi
.if !empty(PKG_OPTIONS:Mcgi)
+. include "../../graphics/gd/buildlink3.mk"
CONFIGURE_ARGS+= --enable-cgi # include CGI support
CONFIGURE_ARGS+= --with-cgi-bin=${PREFIX}/libexec/cgi-bin
PLIST.cgi= yes