summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/Makefile
diff options
context:
space:
mode:
authorsborrill <sborrill>2007-10-29 12:40:58 +0000
committersborrill <sborrill>2007-10-29 12:40:58 +0000
commit3b3f6bdec64226455bd593b55e146cfd7578272e (patch)
treedc503ca70eb15c1db41e1b0e005ce5c6a22c7b54 /sysutils/apcupsd/Makefile
parent9d453abe6ddf2b0137baff6812c0fdca58166505 (diff)
downloadpkgsrc-3b3f6bdec64226455bd593b55e146cfd7578272e.tar.gz
Add cgi and snmp options (on by default)
Diffstat (limited to 'sysutils/apcupsd/Makefile')
-rw-r--r--sysutils/apcupsd/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 2e51fc9db08..40505381c22 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2007/10/09 19:19:15 martti Exp $
+# $NetBSD: Makefile,v 1.55 2007/10/29 12:40:58 sborrill Exp $
DISTNAME= apcupsd-3.14.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/}
@@ -16,6 +16,8 @@ GNU_CONFIGURE= yes
PKG_SYSCONFSUBDIR= apcupsd
+.include "options.mk"
+
# Thread support is needed to compile powerflute, which has a curses
# interface (apparently needing ncurses), but pthreads isn't very
# efficient and is less preferred.
@@ -24,9 +26,6 @@ PKG_SYSCONFSUBDIR= apcupsd
#CONFIGURE_ARGS+= --enable-threads # compile threading code
#CONFIGURE_ARGS+= --enable-powerflute # compile powerflute program
-# XXX this should be an option...
-CONFIGURE_ARGS+= --enable-cgi # include CGI support
-CONFIGURE_ARGS+= --with-cgi-bin=${PREFIX}/libexec/cgi-bin
#CONFIGURE_ARGS+= --with-net-port=${APCUPSD_NET_PORT} # un-registered port is 7000
#CONFIGURE_ARGS+= --with-nis-port=${APCUPSD_NIS_PORT} # registered port is 3551
@@ -35,9 +34,6 @@ CONFIGURE_ARGS+= --with-cgi-bin=${PREFIX}/libexec/cgi-bin
CONFIGURE_ARGS+= --enable-net # enable NIS network driver
CONFIGURE_ARGS+= --enable-usb # enable USB network driver
-# XXX this should be an option...
-.include "../../net/net-snmp/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-snmp # enable SNMP driver
CONFIGURE_ARGS+= --with-catgets # use catgets functions
CONFIGURE_ARGS+= --enable-nls # i18n support
CONFIGURE_ARGS+= --with-lock-dir=${VARBASE}/spool/lock