summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/mbuffer/files/mbuffer-20171011-sysconfdir.patch')
-rw-r--r--sys-block/mbuffer/files/mbuffer-20171011-sysconfdir.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-block/mbuffer/files/mbuffer-20171011-sysconfdir.patch b/sys-block/mbuffer/files/mbuffer-20171011-sysconfdir.patch
new file mode 100644
index 000000000000..ced095366939
--- /dev/null
+++ b/sys-block/mbuffer/files/mbuffer-20171011-sysconfdir.patch
@@ -0,0 +1,28 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -10,6 +10,7 @@ CP = @CP@
+ VPATH = @srcdir@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
++sysconfdir = @sysconfdir@
+ datarootdir = @datarootdir@
+ bindir = @bindir@
+ mandir = @mandir@/man1
+@@ -40,13 +41,13 @@ distclean: clean
+ -$(RM) $(TARGET) config.h config.log \
+ config.status Makefile mbuffer.1 core
+
+-$(DESTDIR)$(etcdir):
++$(DESTDIR)$(sysconfdir):
+ -$(INSTALL) -d -m 755 $@
+
+-$(DESTDIR)$(etcdir)/mbuffer.rc:
+- $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(etcdir)
++$(DESTDIR)$(sysconfdir)/mbuffer.rc:
++ $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(sysconfdir)/
+
+-install: $(TARGET) $(DESTDIR)$(etcdir) $(DESTDIR)$(etcdir)/mbuffer.rc
++install: $(TARGET) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/mbuffer.rc
+ -$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
+ $(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(bindir)/
+ -$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)