summaryrefslogtreecommitdiff
path: root/sys-block/mbuffer/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-04 11:22:40 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-04 11:22:40 +0100
commitfe1c8b732bd548b699d4c2ef725f67f8b8c8911c (patch)
tree84c0b6ca01b7cb63c7d6e685a63823200ce1007f /sys-block/mbuffer/files
parent7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (diff)
gentoo resync : 04.05.2018
Diffstat (limited to 'sys-block/mbuffer/files')
-rw-r--r--sys-block/mbuffer/files/mbuffer-20180410-sysconfdir.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-block/mbuffer/files/mbuffer-20180410-sysconfdir.patch b/sys-block/mbuffer/files/mbuffer-20180410-sysconfdir.patch
new file mode 100644
index 000000000000..560f4c516df8
--- /dev/null
+++ b/sys-block/mbuffer/files/mbuffer-20180410-sysconfdir.patch
@@ -0,0 +1,26 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -12,6 +12,7 @@ OBJDUMP = @OBJDUMP@
+ VPATH = @srcdir@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
++sysconfdir = @sysconfdir@
+ datarootdir = @datarootdir@
+ bindir = @bindir@
+ mandir = @mandir@/man1
+@@ -46,11 +47,11 @@ distclean: clean
+ -$(RM) $(TARGET) config.h config.log \
+ config.status Makefile mbuffer.1 core
+
+-$(DESTDIR)$(etcdir)/mbuffer.rc:
+- -$(INSTALL) -d -m 755 $(DESTDIR)$(etcdir)
+- $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(etcdir)
++$(DESTDIR)$(sysconfdir)/mbuffer.rc:
++ -$(INSTALL) -d -m 755 $(DESTDIR)$(sysconfdir)
++ $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(sysconfdir)/
+
+-install: $(TARGET) $(DESTDIR)$(etcdir)/mbuffer.rc
++install: $(TARGET) $(DESTDIR)$(sysconfdir)/mbuffer.rc
+ -$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
+ $(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(bindir)/
+ -$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)