openbsd-ports/net/argus/patches/patch-argus_Makefile_in
naddy 53bfad5fe9 Don't add SYSCONFDIR to CFLAGS in the port Makefile, there are
quoting problems and gcc4 ends up warning, gcc3 aborts.  Move the
setting to Makefile.in.  ok steven@
2011-09-10 11:55:26 +00:00

21 lines
633 B
Plaintext

$OpenBSD: patch-argus_Makefile_in,v 1.1 2011/09/10 11:55:26 naddy Exp $
--- argus/Makefile.in.orig Thu Sep 8 17:36:27 2011
+++ argus/Makefile.in Thu Sep 8 17:38:25 2011
@@ -19,6 +19,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
+sysconfdir = @sysconfdir@
# Pathname of directory to install the system binaries
SBINDIR = @sbindir@
@@ -45,7 +46,7 @@ WRAPLIBS = @WRAPLIBS@
CC = @CC@
CCOPT = @V_CCOPT@
INCLS = -I$(srcdir) @V_INCLS@ -I$(srcdir)/../include
-DEFS = @DEFS@ -DARGUS_SYSLOG=1
+DEFS = @DEFS@ -DARGUS_SYSLOG=1 -DSYSCONFDIR=\"$(sysconfdir)\"
#DEFS = -DARGUSPERFMETRICS=1 @DEFS@