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>
This commit is contained in:
Robby Workman 2013-05-15 22:13:14 -05:00
parent 699843a169
commit 3059fead0c

View file

@ -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 \