freebsd-ports/net-mgmt/collectd5/files/patch-src__collectd.h
Steve Wills 28f601c5bd - Update to 5.3.0
- Switch to dependency based OPTIONS list

PR:		ports/179663
Submitted by:	Kimo <kimor79@yahoo.com>
Approved by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2013-06-20 03:02:07 +00:00

21 lines
553 B
C

--- ./src/collectd.h.orig 2013-01-27 13:47:18.246255000 +0000
+++ ./src/collectd.h 2013-05-21 21:00:55.000000000 +0000
@@ -235,15 +235,15 @@
#endif
#ifndef LOCALSTATEDIR
-#define LOCALSTATEDIR PREFIX "/var"
+#define LOCALSTATEDIR "/var"
#endif
#ifndef PKGLOCALSTATEDIR
-#define PKGLOCALSTATEDIR PREFIX "/var/lib/" PACKAGE_NAME
+#define PKGLOCALSTATEDIR PREFIX "/var/db/" PACKAGE_NAME
#endif
#ifndef PIDFILE
-#define PIDFILE PREFIX "/var/run/" PACKAGE_NAME ".pid"
+#define PIDFILE "/var/run/" PACKAGE_NAME ".pid"
#endif
#ifndef PLUGINDIR