diff options
author | Jörg Krause <jkrause@posteo.de> | 2014-10-18 00:36:33 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-18 19:27:42 +0200 |
commit | ffa33dc55247cdad1770389b891175e510b0857b (patch) | |
tree | 896c65e1daa67b47efd574f0d1977d28b685add5 /package/bind | |
parent | b3ed7c2d6898e643dd399d926d0f94295b15a35c (diff) | |
download | buildroot-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/bind')
-rw-r--r-- | package/bind/bind.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/bind/bind.mk b/package/bind/bind.mk index 88b6c9fa93..0dcfb402d2 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -20,7 +20,7 @@ BIND_TARGET_SERVER_SBIN += dnssec-keyfromlabel dnssec-signzone BIND_TARGET_TOOLS_BIN = dig host nslookup nsupdate BIND_CONF_ENV = BUILD_CC="$(TARGET_CC)" \ BUILD_CFLAGS="$(TARGET_CFLAGS)" -BIND_CONF_OPTS = --localstatedir=/var \ +BIND_CONF_OPTS = \ --with-randomdev=/dev/urandom \ --enable-epoll --with-libtool \ --with-gssapi=no --enable-rrl |