aboutsummaryrefslogtreecommitdiff
path: root/system/apcupsd/apcupsd.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-05-15 22:13:14 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-06-04 00:09:20 -0500
commit3059fead0c92d3ab065818a15ec821ac834ffadb (patch)
tree3df8f787fecb2079b2cad0f74de5b699a494d0bf /system/apcupsd/apcupsd.SlackBuild
parent699843a16912442788d9c2b762ba049d50af7ecb (diff)
system/apcupsd: Add --with-dev="" to configure flags
This leaves DEVICE blank in apcupsd.conf so that UPSTYPE=usb will work properly (it autodetects the UPS). Thanks to tronayne for the bug report and fix. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/apcupsd/apcupsd.SlackBuild')
-rw-r--r--system/apcupsd/apcupsd.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/apcupsd/apcupsd.SlackBuild b/system/apcupsd/apcupsd.SlackBuild
index 0e1993fb86c2..8349f004e445 100644
--- a/system/apcupsd/apcupsd.SlackBuild
+++ b/system/apcupsd/apcupsd.SlackBuild
@@ -98,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS -DNETSNMP_NO_LEGACY_DEFINITIONS=1" \
--enable-cgi \
--with-cgi-bin=${CGIPATH:-/var/www/cgi-bin} \
--enable-usb \
+ --with-dev="" \
--with-libwrap \
--enable-snmp=yes \
--enable-gapcmon \