diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-06-04 12:49:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-04 12:49:43 +0200 |
commit | 67dfa1986d7e8af9a42ffa7c9d2b40599857cf19 (patch) | |
tree | 87364788f14fbf9ade52e18de680d80fcf535c97 /gnu/packages/patches/findutils-localstatedir.patch | |
parent | 696062b1f06194f6c276ff6889ce2f19b1755eaf (diff) | |
download | guix-67dfa1986d7e8af9a42ffa7c9d2b40599857cf19.tar guix-67dfa1986d7e8af9a42ffa7c9d2b40599857cf19.tar.gz |
gnu: findutils: Use /var as the localstatedir, for 'updatedb'.
* gnu/packages/patches/findutils-localstatedir.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (findutils)[source]: Use it.
[arguments]: Pass --localstatedir=/var.
Diffstat (limited to 'gnu/packages/patches/findutils-localstatedir.patch')
-rw-r--r-- | gnu/packages/patches/findutils-localstatedir.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/findutils-localstatedir.patch b/gnu/packages/patches/findutils-localstatedir.patch new file mode 100644 index 0000000000..c774303cf1 --- /dev/null +++ b/gnu/packages/patches/findutils-localstatedir.patch @@ -0,0 +1,14 @@ +Do not try to create $localstatedir (aka. /var) since we don't have +write access. + +--- findutils-4.4.2/locate/Makefile.in 2015-06-04 12:40:52.690935795 +0200 ++++ findutils-4.4.2/locate/Makefile.in 2015-06-04 12:41:32.087286685 +0200 +@@ -1212,7 +1212,7 @@ updatedb: updatedb.sh Makefile + chmod +x $@ + + install-data-hook: +- $(top_srcdir)/build-aux/mkinstalldirs $(DESTDIR)$(localstatedir) ++ true + + dblocation.texi: Makefile + echo '@set LOCATE_DB $(LOCATE_DB)' > $@ |