openbsd-ports/sysutils/nut/patches/patch-clients_Makefile_in
marcm dd73fa6eb5 * Update to 1.0.0
* CGIs are now a SUBPACKAGE and work with chrooted Apache

* Make myself MAINTAINER

* Mark conflict with upad-2.0

ok naddy@ and nate@
2002-10-14 16:14:33 +00:00

25 lines
1.3 KiB
Plaintext

$OpenBSD: patch-clients_Makefile_in,v 1.1 2002/10/14 16:14:33 marcm Exp $
--- clients/Makefile.in.orig Sat Jun 8 02:09:09 2002
+++ clients/Makefile.in Mon Sep 30 22:01:28 2002
@@ -51,16 +51,16 @@ cgilib.o: cgilib.c
$(CC) $(CFLAGS) -c cgilib.c
multimon.cgi: multimon.c upsfetch.o cgilib.o ../common/parseconf.o $(LIBDEP)
- $(CC) $(CFLAGS) -o multimon.cgi multimon.c upsfetch.o cgilib.o ../common/parseconf.o $(LIBOBJ)
+ $(CC) $(CFLAGS) -o multimon.cgi multimon.c upsfetch.o cgilib.o ../common/parseconf.o $(LIBOBJ) -static
upsset.cgi: upsset.c upsfetch.o cgilib.o ../common/parseconf.o $(LIBDEP)
- $(CC) $(CFLAGS) -o upsset.cgi upsset.c upsfetch.o cgilib.o ../common/parseconf.o $(LIBOBJ)
+ $(CC) $(CFLAGS) -o upsset.cgi upsset.c upsfetch.o cgilib.o ../common/parseconf.o $(LIBOBJ) -static
upsstats.cgi: upsstats.c upsfetch.o cgilib.o $(LIBDEP)
- $(CC) $(CFLAGS) -o upsstats.cgi upsstats.c upsfetch.o cgilib.o $(LIBOBJ)
+ $(CC) $(CFLAGS) -o upsstats.cgi upsstats.c upsfetch.o cgilib.o $(LIBOBJ) -static
upsimage.cgi: upsimage.c upsfetch.o cgilib.o $(LIBDEP)
- $(CC) $(CFLAGS) -o upsimage.cgi upsimage.c upsfetch.o cgilib.o @GFXLIBS@ -lm $(LIBOBJ)
+ $(CC) $(CFLAGS) -o upsimage.cgi upsimage.c upsfetch.o cgilib.o @GFXLIBS@ -lm $(LIBOBJ) -lgd -static
clean:
rm -f *~ *.o $(PROGS) $(SPROGS) $(CGIPROGS)