summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2004-01-06 09:18:21 +0000
committercjep <cjep@pkgsrc.org>2004-01-06 09:18:21 +0000
commitcf6a8daabe51e76d364e0d037cbdc6bf74b14998 (patch)
treefa4064112bd45f9b6fd7620c888ff2ad13fc3f4c /mail
parent861d55bd54cb96b7df3ec4885b4aab522521d4a4 (diff)
downloadpkgsrc-cf6a8daabe51e76d364e0d037cbdc6bf74b14998.tar.gz
Add patch that should have been added previously...
Diffstat (limited to 'mail')
-rw-r--r--mail/nmh/patches/patch-cj31
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-cj b/mail/nmh/patches/patch-cj
new file mode 100644
index 00000000000..d876c88fb83
--- /dev/null
+++ b/mail/nmh/patches/patch-cj
@@ -0,0 +1,31 @@
+$NetBSD: patch-cj,v 1.1 2004/01/06 09:18:21 cjep Exp $
+
+Add manual links for folders and flists (PR#23466).
+
+--- man/Makefile.in.orig 2000-01-27 20:14:58.000000000 +0000
++++ man/Makefile.in 2004-01-02 20:38:09.000000000 +0000
+@@ -78,6 +78,9 @@
+ fmtdump.$(manext8) install-mh.$(manext8) mh-mts.$(manext8) \
+ post.$(manext8)
+
++LINK1 = flist.$(manext1) flists.$(manext1) \
++ folder.$(manext1) folders.$(manext1)
++
+ # source for man pages
+ DIST_MAN = ali.man anno.man ap.man burst.man comp.man conflict.man \
+ dist.man dp.man flist.man fmtdump.man folder.man forw.man \
+@@ -138,6 +141,14 @@
+ for file in $(MAN1); do \
+ $(INSTALL_DATA) $$file $(mandir)/man$(manext1) ; \
+ done
++ set $(LINK1); \
++ while test $$# -ge 2; do \
++ name=$$1; shift; \
++ link=$$1; shift; \
++ ln -sf $(mandir)/man$(manext1)/$${name} \
++ $(mandir)/man$(manext1)/$${link};\
++ done
++
+
+ # install the man pages in man5
+ install-man5: