From f3488540794afed4902d0220836d568112a1b97f Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Sat, 18 Feb 2023 10:11:04 +0100 Subject: Add sys-apps/sysvinit-3.05 --- .../files/sysvinit-3.05-fix-man-makefile.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys-apps/sysvinit/files/sysvinit-3.05-fix-man-makefile.patch (limited to 'sys-apps/sysvinit/files') diff --git a/sys-apps/sysvinit/files/sysvinit-3.05-fix-man-makefile.patch b/sys-apps/sysvinit/files/sysvinit-3.05-fix-man-makefile.patch new file mode 100644 index 0000000..e6079ba --- /dev/null +++ b/sys-apps/sysvinit/files/sysvinit-3.05-fix-man-makefile.patch @@ -0,0 +1,19 @@ +https://github.com/slicer69/sysvinit/commit/e7622b031dac56e1836d2c6e353da4b7f8367aab + +From: Adam Sampson +Date: Sun, 21 Aug 2022 22:13:09 +0100 +Subject: [PATCH] Use the .po files to work out which manpage dirs to create. + +The pattern being used here didn't match anything in a tarball release. +--- a/src/Makefile ++++ b/src/Makefile +@@ -214,7 +214,7 @@ install: all + fi + $(INSTALL_DIR) $(ROOT)/usr/include/ + $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/ +- for lang in '' $(subst ../man/,,$(wildcard ../man/po/??/)); do \ ++ for lang in '' $(patsubst ../man/po/%.po,%,$(wildcard ../man/po/??.po)); do \ + $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/$$lang; \ + $(INSTALL_DIR) $(ROOT)$(MANDIR)/man5/$$lang; \ + $(INSTALL_DIR) $(ROOT)$(MANDIR)/man8/$$lang; \ + -- cgit v1.2.3