openbsd-ports/sysutils/logfmon/patches/patch-Makefile
jasper aafb3f253b import logfmon 1.1
The logfmon daemon monitors a set of syslog log files and matches each
new entry against the rules defined in its configuration file.  Each
rule may be tested against entries from a single file, a set of files or
from all files. Depending on the rule, a command may be executed or the
entry may be ignored. All unmatched messages are batched together and
mailed every 15 minutes, or whatever alternative time is specified in
the configuration file.

from Tom Doherty
ok aja@
2012-05-16 06:10:18 +00:00

17 lines
587 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2012/05/16 06:10:18 jasper Exp $
cc1: note: obsolete option -I- used, please use -iquote instead
NB: The hardcoded /usr/local in this Makefile does not affect OpenBSD's build.
--- Makefile.orig Mon May 14 09:53:28 2012
+++ Makefile Mon May 14 09:53:57 2012
@@ -34,7 +34,7 @@ PREFIX?= /usr/local
INSTALLBIN= install -g bin -o root -m 555
INSTALLMAN= install -g bin -o root -m 444
-INCDIRS= -I- -I. -I/usr/local/include
+INCDIRS= -iquote -I. -I/usr/local/include
LDFLAGS+= -L/usr/local/lib
LIBS= -lm
.if ${OS} == "OpenBSD" || ${OS} == "FreeBSD"