note that with USB UPS, you may have to allow permissions on further ugen subdevices (e.g. ugen0.01 as well as ugen0.00).
18 lines
819 B
Plaintext
18 lines
819 B
Plaintext
$OpenBSD: patch-clients_Makefile_in,v 1.11 2010/03/31 22:11:11 sthen Exp $
|
|
--- clients/Makefile.in.orig Tue Feb 23 10:04:41 2010
|
|
+++ clients/Makefile.in Sat Mar 20 23:18:11 2010
|
|
@@ -359,10 +359,12 @@ upsmon_SOURCES = upsmon.c upsmon.h upsclient.h
|
|
upssched_SOURCES = upssched.c upssched.h
|
|
upssched_LDADD = ../common/libcommon.a ../common/libparseconf.la $(NETLIBS)
|
|
upsimage_cgi_SOURCES = upsimage.c upsclient.h upsimagearg.h cgilib.c cgilib.h
|
|
-upsimage_cgi_LDADD = $(LDADD) $(LIBGD_LDFLAGS)
|
|
+upsimage_cgi_LDADD = $(LDADD) $(LIBGD_LDFLAGS) -all-static
|
|
upsset_cgi_SOURCES = upsset.c upsclient.h cgilib.c cgilib.h
|
|
+upsset_cgi_LDADD = $(LDADD) -all-static
|
|
upsstats_cgi_SOURCES = upsstats.c upsclient.h status.h upsstats.h \
|
|
upsimagearg.h cgilib.c cgilib.h
|
|
+upsstats_cgi_LDADD = $(LDADD) -all-static
|
|
|
|
|
|
# not LDADD.
|