guix/gnu/packages/patches/lirc-localstatedir.patch
Alex Kost e768277168 gnu: Add LIRC.
* gnu/packages/lirc.scm: New file.
* gnu/packages/patches/lirc-localstatedir.patch: New file.
* gnu-system.am: Add them.
2015-03-26 15:47:39 +03:00

14 lines
397 B
Diff

Do not try to create $localstatedir as we cannot do this when it is /var.
--- lirc-0.9.2a/daemons/Makefile.in
+++ lirc-0.9.2a/daemons/Makefile.in
@@ -790,9 +790,6 @@
uninstall-local uninstall-sbinPROGRAMS
-install-exec-local:
- test -d $(DESTDIR)$(varrundir)/$(PACKAGE) \
- || mkdir -p $(DESTDIR)$(varrundir)/$(PACKAGE)
uninstall-local:
-$(RM) $(DESTDIR)$(varrundir)/$(PACKAGE)/lircd