aboutsummaryrefslogtreecommitdiffstats
path: root/main/smokeping/0002-fix-sysconfdir-in-doc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/smokeping/0002-fix-sysconfdir-in-doc.patch')
-rw-r--r--main/smokeping/0002-fix-sysconfdir-in-doc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/smokeping/0002-fix-sysconfdir-in-doc.patch b/main/smokeping/0002-fix-sysconfdir-in-doc.patch
new file mode 100644
index 0000000000..7d6246a9ca
--- /dev/null
+++ b/main/smokeping/0002-fix-sysconfdir-in-doc.patch
@@ -0,0 +1,26 @@
+Patch from: Jeff Bilyk <jbilyk@alpinelinux.org>
+
+--- smokeping-2.6.1/doc/Makefile.in
++++ smokeping-2.6.1/doc/Makefile.in.new
+@@ -239,16 +239,16 @@
+ MAKEPOD = PERL5LIB=$(PERL5LIB) $(PERL) -I$(DESTDIR)$(prefix)/thirdparty/lib/perl5 -I../lib -mSmokeping -e 'Smokeping::main()' -- --makepod
+ GENEX = PERL5LIB=$(PERL5LIB) $(PERL) -I$(DESTDIR)$(prefix)/thirdparty/lib/perl5 -I../lib -mSmokeping -e 'Smokeping::main()' -- --gen-examples
+ CLEANFILES = *.[1357] smokeping_examples.pod smokeping_config.pod examples/*
+-iman1dir = $(DESTDIR)$(mandir)/man1
++iman1dir = $(mandir)/man1
+ iman1_DATA = $(MAN1)
+-iman3dir = $(DESTDIR)$(mandir)/man3
++iman3dir = $(mandir)/man3
+ iman3_DATA = $(MAN3)
+-iman5dir = $(DESTDIR)$(mandir)/man5
++iman5dir = $(mandir)/man5
+ iman5_DATA = $(MAN5)
+-iman7dir = $(DESTDIR)$(mandir)/man7
++iman7dir = $(mandir)/man7
+ iman7_DATA = $(MAN7)
+ EXAMPLES := $(wildcard examples/config.*)
+-etcdir = $(DESTDIR)$(sysconfdir)/examples
++etcdir = $(sysconfdir)/examples
+ etc_DATA = $(EXAMPLES)
+ all: all-am
+