]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/.mk files: remove --localstatedir=/var from autotools packages
authorJörg Krause <jkrause@posteo.de>
Fri, 17 Oct 2014 22:36:33 +0000 (00:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 18 Oct 2014 17:27:42 +0000 (19:27 +0200)
commitffa33dc55247cdad1770389b891175e510b0857b
tree896c65e1daa67b47efd574f0d1977d28b685add5
parentb3ed7c2d6898e643dd399d926d0f94295b15a35c
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>
23 files changed:
package/avahi/avahi.mk
package/bind/bind.mk
package/collectd/collectd.mk
package/connman/connman.mk
package/cups/cups.mk
package/dbus-glib/dbus-glib.mk
package/dbus/dbus.mk
package/dhcp/dhcp.mk
package/directfb/directfb.mk
package/lighttpd/lighttpd.mk
package/ndisc6/ndisc6.mk
package/network-manager/network-manager.mk
package/nss-mdns/nss-mdns.mk
package/oprofile/oprofile.mk
package/php/php.mk
package/pulseaudio/pulseaudio.mk
package/samba/samba.mk
package/sdl_net/sdl_net.mk
package/sed/sed.mk
package/sqlcipher/sqlcipher.mk
package/sqlite/sqlite.mk
package/systemd/systemd.mk
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk