1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/sysutils/upsmon/files/patch-aa
Bill Fumerola 4a23f30b9f 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.
1998-11-24 22:43:40 +00:00

21 lines
443 B
Plaintext

--- 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