From 4a23f30b9f6bf28846683644707c6c6415bef4f4 Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Tue, 24 Nov 1998 22:43:40 +0000 Subject: Initial import of ports/sysutils/upsmon Designed specifically for the APC SmartUPS devices, the software is dependent on the SmartUPS interface and will only function with SmartUPS devices. Essentially, this is a simpler version of upsd. --- sysutils/upsmon/files/patch-aa | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sysutils/upsmon/files/patch-aa (limited to 'sysutils/upsmon/files/patch-aa') diff --git a/sysutils/upsmon/files/patch-aa b/sysutils/upsmon/files/patch-aa new file mode 100644 index 000000000000..79d209ae5b17 --- /dev/null +++ b/sysutils/upsmon/files/patch-aa @@ -0,0 +1,20 @@ +--- makefile.bsdi.orig Wed Aug 5 01:18:38 1998 ++++ makefile.bsdi Mon Oct 5 20:11:38 1998 +@@ -33,13 +33,13 @@ + .SUFFIXES: .cc .o #rules for .c and .o + + CC = gcc +-CFLAGS_DEBUG = -O2 -Wall -DDEBUG -g +-CFLAGS_NODEBUG = -O2 -Wall -g ++CFLAGS_DEBUG = -DDEBUG ++CFLAGS_NODEBUG = + + .ifdef DEBUG +-CFLAGS = $(CFLAGS_DEBUG) ++CFLAGS += $(CFLAGS_DEBUG) + .else +-CFLAGS = $(CFLAGS_NODEBUG) ++CFLAGS += $(CFLAGS_NODEBUG) + .endif + + UPSMOND_TARGET = upsmond -- cgit v1.2.3