- Do not delete modified config files on uninstall [2] - Reduce filesystem hierarchy pollution by moving $PREFIX/var/{run,lib}/* to /var/run (PID file) and /var/db/collectd (default location of databases) [2] - Add an rc script [2] - Optionally install collection.cgi from contrib/ [2] - Fix WITH_APACHE dependencies and plist [1] - Fix WITH_XMMS and WITH_INTERFACE dependencies [2] - fixes for depends, plist, ... [3] PR: ports/122791 [1], ports/123367 [2] Submitted by: Daniel Roethlisberger [1],[2], itetcu@ (me) [3] Approved by: Matt Peterson (former maintainer) [2]
20 lines
456 B
C
20 lines
456 B
C
--- ./src/collectd.h.orig 2007-09-28 17:55:34.000000000 +0300
|
|
+++ ./src/collectd.h 2008-05-06 10:32:08.000000000 +0300
|
|
@@ -183,7 +183,7 @@
|
|
#endif
|
|
|
|
#ifndef LOCALSTATEDIR
|
|
-#define LOCALSTATEDIR PREFIX "/var"
|
|
+#define LOCALSTATEDIR "/var"
|
|
#endif
|
|
|
|
#ifndef PKGLOCALSTATEDIR
|
|
@@ -191,7 +191,7 @@
|
|
#endif
|
|
|
|
#ifndef PIDFILE
|
|
-#define PIDFILE PREFIX "/var/run/" PACKAGE_NAME ".pid"
|
|
+#define PIDFILE "/var/run/" PACKAGE_NAME ".pid"
|
|
#endif
|
|
|
|
#ifndef PLUGINDIR
|