openbsd-ports/sysutils/rsyslog/patches/patch-tools_Makefile_in
naddy 9b982c2f4d * Remove a hidden build dependency and unsatisfied run dependency
on libgcrypt.  GnuTLS >= 2.12 does not depend on libgcrypt any longer.

* Don't add filename defines to CPPFLAGS; there are quoting problems
  and gcc4 ends up warning, gcc3 aborts.  Move the setting to
  Makefile.in.

* The database subpackages shouldn't depend on the exact REVISION
  of the main package.
2011-09-14 21:25:39 +00:00

14 lines
440 B
Plaintext

$OpenBSD: patch-tools_Makefile_in,v 1.1 2011/09/14 21:25:39 naddy Exp $
--- tools/Makefile.in.orig Tue Sep 13 23:09:17 2011
+++ tools/Makefile.in Tue Sep 13 23:11:24 2011
@@ -141,7 +141,8 @@ CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
+DEFS = @DEFS@ -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" \
+ -DCONFIGFILE=\"$(sysconfdir)/rsyslog.conf\"
DEPDIR = @DEPDIR@
DL_LIBS = @DL_LIBS@
DSYMUTIL = @DSYMUTIL@