aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/lirc-localstatedir.patch
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-03-22 16:23:47 +0300
committerAlex Kost <alezost@gmail.com>2015-03-26 15:47:39 +0300
commite7682771686e2aa90bf4c244a6995db21d0070ae (patch)
tree92a735f88cec0a2bf2a098ce0f60408fc6e1b21e /gnu/packages/patches/lirc-localstatedir.patch
parentaad6f5bcda28bd598f4937df8f97e651b4a97e8f (diff)
downloadguix-e7682771686e2aa90bf4c244a6995db21d0070ae.tar
guix-e7682771686e2aa90bf4c244a6995db21d0070ae.tar.gz
gnu: Add LIRC.
* gnu/packages/lirc.scm: New file. * gnu/packages/patches/lirc-localstatedir.patch: New file. * gnu-system.am: Add them.
Diffstat (limited to 'gnu/packages/patches/lirc-localstatedir.patch')
-rw-r--r--gnu/packages/patches/lirc-localstatedir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/lirc-localstatedir.patch b/gnu/packages/patches/lirc-localstatedir.patch
new file mode 100644
index 0000000000..43a41a743f
--- /dev/null
+++ b/gnu/packages/patches/lirc-localstatedir.patch
@@ -0,0 +1,13 @@
+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