From ffa33dc55247cdad1770389b891175e510b0857b Mon Sep 17 00:00:00 2001 From: Jörg Krause Date: Sat, 18 Oct 2014 00:36:33 +0200 Subject: package/.mk files: remove --localstatedir=/var from autotools packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/php/php.mk | 1 - 1 file changed, 1 deletion(-) (limited to 'package/php/php.mk') diff --git a/package/php/php.mk b/package/php/php.mk index 26ec67d13e..afb55b4307 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -18,7 +18,6 @@ PHP_CONF_OPTS = --mandir=/usr/share/man \ --disable-all \ --without-pear \ --with-config-file-path=/etc \ - --localstatedir=/var \ --disable-rpath PHP_CONF_ENV = EXTRA_LIBS="$(PHP_EXTRA_LIBS)" -- cgit v1.2.3