From 3059fead0c92d3ab065818a15ec821ac834ffadb Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 15 May 2013 22:13:14 -0500 Subject: [PATCH] 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 --- system/apcupsd/apcupsd.SlackBuild | 1 + 1 file changed, 1 insertion(+) diff --git a/system/apcupsd/apcupsd.SlackBuild b/system/apcupsd/apcupsd.SlackBuild index 0e1993fb86..8349f004e4 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 \