summaryrefslogtreecommitdiff
path: root/app-text/mandoc/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
commit6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch)
tree25413d1cb3a0cbfe36029db32398c0f333609215 /app-text/mandoc/files
parent9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff)
gentoo resync : 14.12.2020
Diffstat (limited to 'app-text/mandoc/files')
-rw-r--r--app-text/mandoc/files/mandoc-1.14.5-r1-www-install.patch19
-rw-r--r--app-text/mandoc/files/mandoc.cron-r06
2 files changed, 25 insertions, 0 deletions
diff --git a/app-text/mandoc/files/mandoc-1.14.5-r1-www-install.patch b/app-text/mandoc/files/mandoc-1.14.5-r1-www-install.patch
new file mode 100644
index 000000000000..2395f1ce66b7
--- /dev/null
+++ b/app-text/mandoc/files/mandoc-1.14.5-r1-www-install.patch
@@ -0,0 +1,19 @@
+diff --git a/Makefile b/Makefile
+index f4e2954..191c7e2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -535,9 +535,11 @@ soelim: $(SOELIM_OBJS)
+ # --- maintainer targets ---
+
+ www-install: www
+- $(INSTALL_DATA) mandoc.css $(HTDOCDIR)
+- $(INSTALL_DATA) $(WWW_MANS) $(HTDOCDIR)/man
+- $(INSTALL_DATA) $(WWW_INCS) $(HTDOCDIR)/includes
++ mkdir -p $(DESTDIR)$(HTDOCDIR)/man
++ mkdir -p $(DESTDIR)$(HTDOCDIR)/includes
++ $(INSTALL_DATA) mandoc.css $(DESTDIR)$(HTDOCDIR)
++ $(INSTALL_DATA) $(WWW_MANS) $(DESTDIR)$(HTDOCDIR)/man
++ $(INSTALL_DATA) $(WWW_INCS) $(DESTDIR)$(HTDOCDIR)/includes
+
+ depend: config.h
+ mkdep -f Makefile.depend $(CFLAGS) $(SRCS)
diff --git a/app-text/mandoc/files/mandoc.cron-r0 b/app-text/mandoc/files/mandoc.cron-r0
new file mode 100644
index 000000000000..785564901765
--- /dev/null
+++ b/app-text/mandoc/files/mandoc.cron-r0
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# need MANPATH
+. /etc/profile.env
+
+exec nice makewhatis -T utf8 2>/dev/null