aboutsummaryrefslogtreecommitdiff
path: root/package/cups
diff options
context:
space:
mode:
authorGravatar Danomi Manchego <danomimanchego123@gmail.com>2014-04-22 20:49:09 -0400
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-04 23:24:25 +0200
commitde59021d978ca3d0871e152aaada7ed2e939ad58 (patch)
treef5cde087cfe413b9ef0a49777bfd840f7c330fa6 /package/cups
parent9583969992b9eb42e72d78f1dd0755f1ea17b0ff (diff)
downloadbuildroot-de59021d978ca3d0871e152aaada7ed2e939ad58.tar.gz
buildroot-de59021d978ca3d0871e152aaada7ed2e939ad58.tar.bz2
cups: move localstatedir from /usr/var to /var
Prior to commit f64a1b850fc897357040bb4c58b6e5e50e71e094 ("cups: convert to autotargets"), cups was explicitely configured to put its modifiable single-machine data under /var. After that commit, the --localstatedir was not specified, so it remained at it's default value, "PREFIX/var" - making cups use "/usr/var". Using /var to store state files seems preferable to /usr/var, as /usr might be read-only on some systems. This patch re-introduces the --localstatedir specification to build cups to use /var. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/cups')
-rw-r--r--package/cups/cups.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index bcd6f1e01c..ee53735bb3 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -17,7 +17,8 @@ CUPS_CONF_OPT = --without-perl \
--without-php \
--disable-gnutls \
--disable-gssapi \
- --libdir=/usr/lib
+ --libdir=/usr/lib \
+ --localstatedir=/var
CUPS_CONFIG_SCRIPTS = cups-config
CUPS_DEPENDENCIES = $(if $(BR2_PACKAGE_ZLIB),zlib) \