summaryrefslogtreecommitdiffstats
path: root/package/collectd
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-10-18 00:36:33 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-18 19:27:42 +0200
commitffa33dc55247cdad1770389b891175e510b0857b (patch)
tree896c65e1daa67b47efd574f0d1977d28b685add5 /package/collectd
parentb3ed7c2d6898e643dd399d926d0f94295b15a35c (diff)
downloadbuildroot-ffa33dc55247cdad1770389b891175e510b0857b.tar.gz
buildroot-ffa33dc55247cdad1770389b891175e510b0857b.zip
package/.mk files: remove --localstatedir=/var from autotools packages
Remove --localstatedir=/var from all autotools packages where it is no longer needed. Also remove --localstatedir=/var/lib/dhcp from package dhcp. localstatedir is used by dhcp to set the default directory for the leases files. This can also be done by setting --with-*-lease-file=/var/lib/dhcp/*, which is done in dhcp.mk. A custom --localstatedir is left in: * proftpd.mk * mysql.mk This is safe to do: One of the good thing with autoconf is that if you pass: --localstatedir=/var ... --localstatedir=/var/something Then /var/something will be used. So, we can set --localstatedir=/var by default in the infrastructure, and still have certain packages doing weird things override it. [Thanks to Thomas Petazzoni] Signed-off-by: Jörg Krause <jkrause@posteo.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/collectd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 27a7dfe86c..2dc27f5536 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -24,7 +24,7 @@ COLLECTD_PLUGINS_DISABLE = amqp apple_sensors aquaero ascent dbi email \
COLLECTD_CONF_ENV += LIBS="-lm"
COLLECTD_CONF_OPTS += --with-nan-emulation --with-fp-layout=nothing \
- --localstatedir=/var --with-perl-bindings=no \
+ --with-perl-bindings=no \
$(foreach p, $(COLLECTD_PLUGINS_DISABLE), --disable-$(p)) \
$(if $(BR2_PACKAGE_COLLECTD_AGGREGATION),--enable-aggregation,--disable-aggregation) \
$(if $(BR2_PACKAGE_COLLECTD_APACHE),--enable-apache,--disable-apache) \
OpenPOWER on IntegriCloud