summaryrefslogtreecommitdiff
path: root/sysutils/upsmon/files/patch-aa
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1998-11-24 22:43:40 +0000
committerBill Fumerola <billf@FreeBSD.org>1998-11-24 22:43:40 +0000
commit4a23f30b9f6bf28846683644707c6c6415bef4f4 (patch)
treebcbb1d124acc6f37f34c8e50917b3affdcf8a139 /sysutils/upsmon/files/patch-aa
parentAdd in one more part. (diff)
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.
Diffstat (limited to 'sysutils/upsmon/files/patch-aa')
-rw-r--r--sysutils/upsmon/files/patch-aa20
1 files changed, 20 insertions, 0 deletions
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