aboutsummaryrefslogtreecommitdiffstats
path: root/community/syslog-summary/00-fix_Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/syslog-summary/00-fix_Makefile.patch')
-rw-r--r--community/syslog-summary/00-fix_Makefile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/syslog-summary/00-fix_Makefile.patch b/community/syslog-summary/00-fix_Makefile.patch
new file mode 100644
index 0000000000..f18bb8bd87
--- /dev/null
+++ b/community/syslog-summary/00-fix_Makefile.patch
@@ -0,0 +1,15 @@
+--- syslog-summary-1.14/Makefile
++++ syslog-summary-1.14/Makefile.new
+@@ -6,8 +6,12 @@
+ version = $(shell grep ^version syslog-summary | cut -d\" -f2)
+
+ install:
++ install -d $(DESTDIR)/usr/bin
++ install -d $(DESTDIR)/etc/syslog-summary
++ install -d $(DESTDIR)/usr/share/man/man1
+ install -m 755 syslog-summary $(DESTDIR)/usr/bin/syslog-summary
+ install -m 644 ignore.rules $(DESTDIR)/etc/syslog-summary/ignore.rules
++ install -m 644 syslog-summary.1 $(DESTDIR)/usr/share/man/man1
+
+ uninstall:
+ [ ! -f $(DESTDIR)/usr/bin/syslog-summary ] || rm -v $(DESTDIR)/usr/bin/syslog-summary