diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-08-20 22:05:09 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-08-20 22:05:09 +0000 |
commit | a1262455adc758ce6afa922fec939a79f47f5663 (patch) | |
tree | 70cc734378f38c3b057ee467f8dee2e2b000ae14 /sysutils/upsmon/files/patch-aa | |
parent | Drop maintainership (diff) |
Fix for 5.x
PR: 55819
Submitted by: rwatson
Diffstat (limited to 'sysutils/upsmon/files/patch-aa')
-rw-r--r-- | sysutils/upsmon/files/patch-aa | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/upsmon/files/patch-aa b/sysutils/upsmon/files/patch-aa index 905ebd85c470..8100fda38c17 100644 --- a/sysutils/upsmon/files/patch-aa +++ b/sysutils/upsmon/files/patch-aa @@ -1,5 +1,5 @@ ---- makefile.bsdi.orig Tue Aug 4 14:18:38 1998 -+++ makefile.bsdi Sat Apr 29 13:11:52 2000 +--- makefile.bsdi.orig Tue Aug 4 23:18:38 1998 ++++ makefile.bsdi Wed Aug 20 23:55:50 2003 @@ -32,14 +32,14 @@ .SUFFIXES: #clear list of suffixes .SUFFIXES: .cc .o #rules for .c and .o @@ -7,16 +7,16 @@ -CC = gcc -CFLAGS_DEBUG = -O2 -Wall -DDEBUG -g -CFLAGS_NODEBUG = -O2 -Wall -g -+#CC = gcc ++CC = g++ +CFLAGS_DEBUG = -DDEBUG +CFLAGS_NODEBUG = .ifdef DEBUG -CFLAGS = $(CFLAGS_DEBUG) -+CFLAGS += $(CFLAGS_DEBUG) -pedantic ++CFLAGS += $(CFLAGS_DEBUG) .else -CFLAGS = $(CFLAGS_NODEBUG) -+CFLAGS += $(CFLAGS_NODEBUG) -pedantic ++CFLAGS += $(CFLAGS_NODEBUG) .endif UPSMOND_TARGET = upsmond |