3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
guix/gnu/packages/patches/findutils-localstatedir.patch
Ludovic Courtès 67dfa1986d 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.
2015-06-04 12:49:43 +02:00

14 lines
467 B
Diff

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)' > $@