summaryrefslogtreecommitdiff
path: root/comms/lirc/files/patch-daemons__Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'comms/lirc/files/patch-daemons__Makefile.in')
-rw-r--r--comms/lirc/files/patch-daemons__Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/lirc/files/patch-daemons__Makefile.in b/comms/lirc/files/patch-daemons__Makefile.in
new file mode 100644
index 000000000000..b44f5bb128b4
--- /dev/null
+++ b/comms/lirc/files/patch-daemons__Makefile.in
@@ -0,0 +1,11 @@
+--- daemons/Makefile.in.orig
++++ daemons/Makefile.in
+@@ -1108,8 +1108,6 @@ uninstall-am: uninstall-binPROGRAMS unin
+ @SANDBOXED_FALSE@@USE_FIFOS_FALSE@uninstall-local: rmdev
+
+ install-data-local:
+- test "$(lircd_conf)" = "" || test -e $(DESTDIR)$(sysconfdir)/$(PACKAGE)/lircd.conf || ($(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lirc && $(INSTALL_DATA) $(top_srcdir)/remotes/$(lircd_conf) $(DESTDIR)$(sysconfdir)/$(PACKAGE)/lircd.conf)
+- test "$(lircmd_conf)" = "" || test -e $(DESTDIR)$(sysconfdir)/$(PACKAGE)/lircmd.conf || ($(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lirc && $(INSTALL_DATA) $(top_srcdir)/remotes/$(lircmd_conf) $(DESTDIR)$(sysconfdir)/$(PACKAGE)/lircmd.conf)
+
+ mkdev:
+ test -e $(DESTDIR)$(varrundir)/$(PACKAGE)/lircd || ($(mkinstalldirs) $(DESTDIR)$(varrundir)/lirc && @mknod@ $(DESTDIR)$(varrundir)/$(PACKAGE)/lircd p)