summaryrefslogtreecommitdiff
path: root/mail/ja-mh
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-05-31 13:01:20 +0000
committerseb <seb@pkgsrc.org>2002-05-31 13:01:20 +0000
commit28d3c6d55708b8beb86f41e9a2625d65f4c35307 (patch)
tree5098cf1dc6ebb944d9addc4fd31ba732340ecc71 /mail/ja-mh
parent61d383841e8f5f9a4cb49d9bc82c7c5c40463cbe (diff)
downloadpkgsrc-28d3c6d55708b8beb86f41e9a2625d65f4c35307.tar.gz
Reimport of package ja-mh6 from japanese/mh into mail/ja-mh.
This is part of the japanese category retirement. Pathnames to japanese/ adjusted.
Diffstat (limited to 'mail/ja-mh')
-rw-r--r--mail/ja-mh/DESCR3
-rw-r--r--mail/ja-mh/Makefile31
-rw-r--r--mail/ja-mh/PLIST176
-rw-r--r--mail/ja-mh/distinfo22
-rw-r--r--mail/ja-mh/patches/patch-aa12
-rw-r--r--mail/ja-mh/patches/patch-ab12
-rw-r--r--mail/ja-mh/patches/patch-ac12
-rw-r--r--mail/ja-mh/patches/patch-ad12
-rw-r--r--mail/ja-mh/patches/patch-ae12
-rw-r--r--mail/ja-mh/patches/patch-af12
-rw-r--r--mail/ja-mh/patches/patch-ag12
-rw-r--r--mail/ja-mh/patches/patch-ah12
-rw-r--r--mail/ja-mh/patches/patch-ai12
-rw-r--r--mail/ja-mh/patches/patch-aj12
-rw-r--r--mail/ja-mh/patches/patch-ak12
-rw-r--r--mail/ja-mh/patches/patch-al39
-rw-r--r--mail/ja-mh/patches/patch-am12
-rw-r--r--mail/ja-mh/patches/patch-an12
-rw-r--r--mail/ja-mh/patches/patch-ao12
-rw-r--r--mail/ja-mh/patches/patch-ap13
-rw-r--r--mail/ja-mh/patches/patch-aq13
-rw-r--r--mail/ja-mh/patches/patch-ar14
22 files changed, 479 insertions, 0 deletions
diff --git a/mail/ja-mh/DESCR b/mail/ja-mh/DESCR
new file mode 100644
index 00000000000..93fd4d0f3fa
--- /dev/null
+++ b/mail/ja-mh/DESCR
@@ -0,0 +1,3 @@
+This is the MH mail user agent (reader/sender) with Japanese patches,
+a command line based mail reader that is powerful and extensible. MH
+is an excellent choice for people who receive and process a LOT of mail.
diff --git a/mail/ja-mh/Makefile b/mail/ja-mh/Makefile
new file mode 100644
index 00000000000..87dae6dfdca
--- /dev/null
+++ b/mail/ja-mh/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+# FreeBSD Id: Makefile,v 1.13 1999/02/10 18:13:21 motoyuki Exp $
+
+DISTNAME= mh-6.8.4-JP-3.03
+PKGNAME= ja-mh6-3.03
+CATEGORIES= japanese mail
+MASTER_SITES= ftp://ports.jp.freebsd.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/ \
+ ftp://komadori.planet.sci.kobe-u.ac.jp/pub/MH/ \
+ ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/net/mh/
+
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+COMMENT= Rand MH mail handling system + Japanese patches
+
+DEPENDS= ja-less>=332:../../misc/ja-less
+
+CONFLICTS= nmh-[0-9]* ja-mh-*_JP_*
+
+.include "../../mk/bsd.prefs.mk"
+
+MANCOMPRESSED= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= OBJECT_FMT=${OBJECT_FMT}
+CONFIGURE_ARGS= --enable-batchmode \
+ --libexecdir=${PREFIX}/libexec/mh \
+ --enable-jmandir=${PREFIX}/man/ja_JP.EUC \
+ --enable-apop=${PREFIX}/etc/pop.auth --enable-rpop
+
+post-install:
+ ${LN} -sf libmh.so.3.2 ${PREFIX}/lib/libmh.so.3
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ja-mh/PLIST b/mail/ja-mh/PLIST
new file mode 100644
index 00000000000..244d6c46771
--- /dev/null
+++ b/mail/ja-mh/PLIST
@@ -0,0 +1,176 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+bin/ali
+bin/anno
+bin/bbc
+bin/burst
+bin/comp
+bin/dist
+bin/folder
+bin/folders
+bin/forw
+bin/inc
+bin/mark
+bin/mhmail
+bin/mhn
+bin/mhparam
+bin/mhpath
+bin/msgchk
+bin/msh
+bin/next
+bin/packf
+bin/pgped
+bin/pgpshow
+bin/pick
+bin/prev
+bin/prompter
+bin/refile
+bin/repl
+bin/rmf
+bin/rmm
+bin/scan
+bin/send
+bin/show
+bin/sortm
+bin/whatnow
+bin/whom
+lib/libmh.so
+lib/libmh.so.3
+lib/libmh.so.3.2
+libexec/mh/MailAliases
+libexec/mh/ap
+libexec/mh/components
+libexec/mh/conflict
+libexec/mh/digestcomps
+libexec/mh/distcomps
+libexec/mh/dp
+libexec/mh/fmtdump
+libexec/mh/forwcomps
+libexec/mh/install-mh
+libexec/mh/mhl
+libexec/mh/mhl.body
+libexec/mh/mhl.digest
+libexec/mh/mhl.format
+libexec/mh/mhl.forward
+libexec/mh/mhl.headers
+libexec/mh/mhn_defaults
+libexec/mh/mtstailor
+libexec/mh/packmbox
+libexec/mh/post
+libexec/mh/rcvdist
+libexec/mh/rcvdistcomps
+libexec/mh/rcvpack
+libexec/mh/rcvstore
+libexec/mh/rcvtty
+libexec/mh/replcomps
+libexec/mh/scan.default
+libexec/mh/scan.mailx
+libexec/mh/scan.size
+libexec/mh/scan.time
+libexec/mh/scan.timely
+libexec/mh/slocal
+libexec/mh/spost
+libexec/mh/tmac.h
+libexec/mh/viamail
+man/ja_JP.EUC/man1/ali.1
+man/ja_JP.EUC/man1/anno.1
+man/ja_JP.EUC/man1/bbc.1
+man/ja_JP.EUC/man1/burst.1
+man/ja_JP.EUC/man1/comp.1
+man/ja_JP.EUC/man1/dist.1
+man/ja_JP.EUC/man1/folder.1
+man/ja_JP.EUC/man1/forw.1
+man/ja_JP.EUC/man1/inc.1
+man/ja_JP.EUC/man1/mark.1
+man/ja_JP.EUC/man1/mh-chart.1
+man/ja_JP.EUC/man1/mh.1
+man/ja_JP.EUC/man1/mhl.1
+man/ja_JP.EUC/man1/mhmail.1
+man/ja_JP.EUC/man1/mhn.1
+man/ja_JP.EUC/man1/mhook.1
+man/ja_JP.EUC/man1/mhparam.1
+man/ja_JP.EUC/man1/mhpath.1
+man/ja_JP.EUC/man1/msgchk.1
+man/ja_JP.EUC/man1/msh.1
+man/ja_JP.EUC/man1/next.1
+man/ja_JP.EUC/man1/packf.1
+man/ja_JP.EUC/man1/pgped.1
+man/ja_JP.EUC/man1/pick.1
+man/ja_JP.EUC/man1/prev.1
+man/ja_JP.EUC/man1/prompter.1
+man/ja_JP.EUC/man1/rcvstore.1
+man/ja_JP.EUC/man1/refile.1
+man/ja_JP.EUC/man1/repl.1
+man/ja_JP.EUC/man1/rmf.1
+man/ja_JP.EUC/man1/rmm.1
+man/ja_JP.EUC/man1/scan.1
+man/ja_JP.EUC/man1/send.1
+man/ja_JP.EUC/man1/show.1
+man/ja_JP.EUC/man1/slocal.1
+man/ja_JP.EUC/man1/sortm.1
+man/ja_JP.EUC/man1/vmh.1
+man/ja_JP.EUC/man1/whatnow.1
+man/ja_JP.EUC/man1/whom.1
+man/ja_JP.EUC/man5/mh-alias.5
+man/ja_JP.EUC/man5/mh-format.5
+man/ja_JP.EUC/man5/mh-mail.5
+man/ja_JP.EUC/man5/mh-profile.5
+man/ja_JP.EUC/man5/mh-sequence.5
+man/ja_JP.EUC/man5/mh-tailor.5
+man/ja_JP.EUC/man8/ap.8
+man/ja_JP.EUC/man8/conflict.8
+man/ja_JP.EUC/man8/dp.8
+man/ja_JP.EUC/man8/fmtdump.8
+man/ja_JP.EUC/man8/install-mh.8
+man/ja_JP.EUC/man8/post.8
+man/man1/ali.1
+man/man1/anno.1
+man/man1/bbc.1
+man/man1/burst.1
+man/man1/comp.1
+man/man1/dist.1
+man/man1/folder.1
+man/man1/forw.1
+man/man1/inc.1
+man/man1/mark.1
+man/man1/mh-chart.1
+man/man1/mh.1
+man/man1/mhl.1
+man/man1/mhmail.1
+man/man1/mhn.1
+man/man1/mhook.1
+man/man1/mhparam.1
+man/man1/mhpath.1
+man/man1/msgchk.1
+man/man1/msh.1
+man/man1/next.1
+man/man1/packf.1
+man/man1/pgped.1
+man/man1/pick.1
+man/man1/prev.1
+man/man1/prompter.1
+man/man1/rcvstore.1
+man/man1/refile.1
+man/man1/repl.1
+man/man1/rmf.1
+man/man1/rmm.1
+man/man1/scan.1
+man/man1/send.1
+man/man1/show.1
+man/man1/slocal.1
+man/man1/sortm.1
+man/man1/vmh.1
+man/man1/whatnow.1
+man/man1/whom.1
+man/man5/mh-alias.5
+man/man5/mh-format.5
+man/man5/mh-mail.5
+man/man5/mh-profile.5
+man/man5/mh-sequence.5
+man/man5/mh-tailor.5
+man/man8/ap.8
+man/man8/conflict.8
+man/man8/dp.8
+man/man8/fmtdump.8
+man/man8/install-mh.8
+man/man8/post.8
+@dirrm libexec/mh
diff --git a/mail/ja-mh/distinfo b/mail/ja-mh/distinfo
new file mode 100644
index 00000000000..4774aec31f2
--- /dev/null
+++ b/mail/ja-mh/distinfo
@@ -0,0 +1,22 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+SHA1 (mh-6.8.4-JP-3.03.tar.gz) = e533b22c23e79e8cba50ed2fe391f0f3b3ca332a
+Size (mh-6.8.4-JP-3.03.tar.gz) = 1567712 bytes
+SHA1 (patch-aa) = d38c2340f53ddfafb63857a7c6cbf95f8ba91cbf
+SHA1 (patch-ab) = 6ba17b9bb6844bbf5fc3d4edf268b7d671427438
+SHA1 (patch-ac) = aea3d9bdfb5faa42ec55af92c5b1d5cd74f3d42d
+SHA1 (patch-ad) = 5d1e3f54abbb114bf5d3c367de1b186b8dd39317
+SHA1 (patch-ae) = 183afc6c35c04912986bb3826d9d443b0aaacb7f
+SHA1 (patch-af) = 0f9dd68449f56039555253a8e1ba9a2923c5ef4e
+SHA1 (patch-ag) = 5e68e06be4ff523335900b2dd01defbe84cd725c
+SHA1 (patch-ah) = 3cabf8ae640fbce889dda69521453dc0a9e621f5
+SHA1 (patch-ai) = c9da909f7783f6600a21ac6f035b8df732275539
+SHA1 (patch-aj) = 418b6e60541558f2702393b89df76ad9edf1774f
+SHA1 (patch-ak) = 7f8442f265111a4b87393b3a64fd8692c23b379d
+SHA1 (patch-al) = 6f37a26a389689ca3b82900cf15ceea5b0f291ce
+SHA1 (patch-am) = 3cea349883c6e73d95844a44586d32c0046eb94c
+SHA1 (patch-an) = c879444e422531fc2c3d2a6bd4c52c9680239a5f
+SHA1 (patch-ao) = 4ad1798a6d4cdc2c977dd5186e9a111a4585df94
+SHA1 (patch-ap) = bde44e5f75ee1e124b5fff9679823e1ee2c313f0
+SHA1 (patch-aq) = e9399fe4a26005be428960666ac7ac437789aaa5
+SHA1 (patch-ar) = 3f9a0e510c9649ac07f07ef86f4a139bba1a5055
diff --git a/mail/ja-mh/patches/patch-aa b/mail/ja-mh/patches/patch-aa
new file mode 100644
index 00000000000..fcc67791c86
--- /dev/null
+++ b/mail/ja-mh/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./sbr/m_getdefs.c.orig Wed Dec 2 02:05:00 1998
++++ ./sbr/m_getdefs.c Mon Nov 1 19:13:29 1999
+@@ -7,4 +7,7 @@
+ #include <stdio.h>
+ #include <errno.h>
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff --git a/mail/ja-mh/patches/patch-ab b/mail/ja-mh/patches/patch-ab
new file mode 100644
index 00000000000..a4dad34d93e
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./sbr/refile.c.orig Wed Dec 1 13:01:26 1993
++++ ./sbr/refile.c Mon Nov 1 19:13:30 1999
+@@ -6,4 +6,7 @@
+ #include "../h/mh.h"
+ #include <stdio.h>
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ int refile (arg, file)
diff --git a/mail/ja-mh/patches/patch-ac b/mail/ja-mh/patches/patch-ac
new file mode 100644
index 00000000000..9682d73f37e
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./sbr/remdir.c.orig Fri Apr 24 06:02:00 1998
++++ ./sbr/remdir.c Mon Nov 1 19:13:30 1999
+@@ -6,4 +6,7 @@
+ #include "../h/mh.h"
+ #include <stdio.h>
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+
diff --git a/mail/ja-mh/patches/patch-ad b/mail/ja-mh/patches/patch-ad
new file mode 100644
index 00000000000..34bf5fc0c49
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./sbr/showfile.c.orig Wed Dec 1 13:01:26 1993
++++ ./sbr/showfile.c Mon Nov 1 19:13:30 1999
+@@ -3,4 +3,7 @@
+ #include "../h/mh.h"
+ #include <stdio.h>
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+
diff --git a/mail/ja-mh/patches/patch-ae b/mail/ja-mh/patches/patch-ae
new file mode 100644
index 00000000000..4365519584f
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/inc.c.orig Fri Sep 10 02:10:53 1999
++++ ./uip/inc.c Mon Nov 1 19:13:30 1999
+@@ -38,4 +38,7 @@
+ #include <locale.h>
+ #endif
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ /* */
diff --git a/mail/ja-mh/patches/patch-af b/mail/ja-mh/patches/patch-af
new file mode 100644
index 00000000000..064389143ae
--- /dev/null
+++ b/mail/ja-mh/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/mhlsbr.c.orig Tue Feb 9 20:30:00 1999
++++ ./uip/mhlsbr.c Mon Nov 1 19:13:30 1999
+@@ -21,4 +21,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+
diff --git a/mail/ja-mh/patches/patch-ag b/mail/ja-mh/patches/patch-ag
new file mode 100644
index 00000000000..ebb40851b6d
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/mhn.c.orig Tue Feb 9 20:30:00 1999
++++ ./uip/mhn.c Mon Nov 1 19:13:30 1999
+@@ -19,4 +19,7 @@
+ #include <locale.h>
+ #endif
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ /* */
diff --git a/mail/ja-mh/patches/patch-ah b/mail/ja-mh/patches/patch-ah
new file mode 100644
index 00000000000..ff57795215f
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/rcvtty.c.orig Tue Feb 9 20:30:00 1999
++++ ./uip/rcvtty.c Mon Nov 1 19:13:30 1999
+@@ -30,4 +30,7 @@
+ #include <locale.h>
+ #endif
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ /* */
diff --git a/mail/ja-mh/patches/patch-ai b/mail/ja-mh/patches/patch-ai
new file mode 100644
index 00000000000..dd952e16bcf
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ai
@@ -0,0 +1,12 @@
+$NetBSD: patch-ai,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/replsbr.c.orig Fri Sep 10 13:51:41 1999
++++ ./uip/replsbr.c Mon Nov 1 19:13:30 1999
+@@ -11,4 +11,7 @@
+ #include <sys/types.h> /* off_t */
+ #include <sys/file.h> /* L_SET */
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+
diff --git a/mail/ja-mh/patches/patch-aj b/mail/ja-mh/patches/patch-aj
new file mode 100644
index 00000000000..38f8d8b008b
--- /dev/null
+++ b/mail/ja-mh/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/sendsbr.c.orig Tue Feb 9 20:30:00 1999
++++ ./uip/sendsbr.c Mon Nov 1 19:13:30 1999
+@@ -10,4 +10,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ static alert(), anno(), annoaux();
diff --git a/mail/ja-mh/patches/patch-ak b/mail/ja-mh/patches/patch-ak
new file mode 100644
index 00000000000..22b7b2c4113
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/spost.c.orig Wed Dec 2 02:05:00 1998
++++ ./uip/spost.c Mon Nov 1 19:13:30 1999
+@@ -23,4 +23,7 @@
+ #include <locale.h>
+ #endif
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ extern char *getfullname (), *getusr ();
diff --git a/mail/ja-mh/patches/patch-al b/mail/ja-mh/patches/patch-al
new file mode 100644
index 00000000000..18ca3cc9ee6
--- /dev/null
+++ b/mail/ja-mh/patches/patch-al
@@ -0,0 +1,39 @@
+$NetBSD: patch-al,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/vmh.c.orig Tue Feb 9 20:30:00 1999
++++ ./uip/vmh.c Tue Feb 29 23:19:05 2000
+@@ -23,6 +23,9 @@
+ If curses ever gets fixed, then XYZ code can be removed
+ */
+
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+ #ifdef __osf__
+ #define _BSD
+ #endif
+@@ -85,9 +88,15 @@
+ #define _maxy maxy
+ #define _curx curx /* curses.h */
+ #define _cury cury
++#ifndef __NetBSD__
+ void __cputchar __P((int));
++#endif
+ #undef _putchar
++#ifdef BSD44
++#define _putchar __cputchar
++#else
+ #define _putchar (int (*)()) __cputchar
++#endif
+ #include <sys/ioctl.h> /* sgttyb */
+ #endif /* !__NCURSES_H && (BSD44 || linux) */
+
+@@ -1509,7 +1518,7 @@
+ tpgrp;
+ TYPESIG (*tstat) ();
+
+- if ((pgrp = getpgrp (0)) == NOTOK)
++ if ((pgrp = getpgrp (/*0*/)) == NOTOK)
+ adios ("process group", "unable to determine");
+ for (;;) {
+ if (ioctl (fileno (stdin), TIOCGPGRP, (char *) &tpgrp) == NOTOK)
diff --git a/mail/ja-mh/patches/patch-am b/mail/ja-mh/patches/patch-am
new file mode 100644
index 00000000000..c1ace978e75
--- /dev/null
+++ b/mail/ja-mh/patches/patch-am
@@ -0,0 +1,12 @@
+$NetBSD: patch-am,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/vmhtest.c.orig Fri Apr 24 06:02:00 1998
++++ ./uip/vmhtest.c Mon Nov 1 19:13:30 1999
+@@ -11,4 +11,7 @@
+ #include <locale.h>
+ #endif
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ /* */
diff --git a/mail/ja-mh/patches/patch-an b/mail/ja-mh/patches/patch-an
new file mode 100644
index 00000000000..bcf767b2ce3
--- /dev/null
+++ b/mail/ja-mh/patches/patch-an
@@ -0,0 +1,12 @@
+$NetBSD: patch-an,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/whatnowsbr.c.orig Tue Feb 9 20:30:00 1999
++++ ./uip/whatnowsbr.c Mon Nov 1 19:13:30 1999
+@@ -9,4 +9,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+ #ifndef MIME
diff --git a/mail/ja-mh/patches/patch-ao b/mail/ja-mh/patches/patch-ao
new file mode 100644
index 00000000000..b4dbc8c0a2d
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ao
@@ -0,0 +1,12 @@
+$NetBSD: patch-ao,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./uip/wmh.c.orig Fri Apr 24 06:02:00 1998
++++ ./uip/wmh.c Mon Nov 1 19:13:30 1999
+@@ -29,4 +29,7 @@
+ #include <locale.h>
+ #endif
++#ifdef UNISTD
++#include <unistd.h>
++#endif
+
+
diff --git a/mail/ja-mh/patches/patch-ap b/mail/ja-mh/patches/patch-ap
new file mode 100644
index 00000000000..33b3361a45c
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./configure.in.orig Fri Oct 1 23:01:15 1999
++++ ./configure.in Mon Nov 1 19:08:09 1999
+@@ -354,4 +354,8 @@
+ fi
+ fi
++ if test "$OBJECT_FMT" = ELF
++ then
++ sharedlib=gnuelf
++ fi
+ slflags="-fpic"
+ slibdir=$libdir
diff --git a/mail/ja-mh/patches/patch-aq b/mail/ja-mh/patches/patch-aq
new file mode 100644
index 00000000000..626c0362023
--- /dev/null
+++ b/mail/ja-mh/patches/patch-aq
@@ -0,0 +1,13 @@
+$NetBSD: patch-aq,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./configure.orig Fri Oct 1 23:01:45 1999
++++ ./configure Mon Nov 1 19:08:09 1999
+@@ -1386,4 +1386,8 @@
+ fi
+ fi
++ if test "$OBJECT_FMT" = ELF
++ then
++ sharedlib=gnuelf
++ fi
+ slflags="-fpic"
+ slibdir=$libdir
diff --git a/mail/ja-mh/patches/patch-ar b/mail/ja-mh/patches/patch-ar
new file mode 100644
index 00000000000..ff1a6a48ebf
--- /dev/null
+++ b/mail/ja-mh/patches/patch-ar
@@ -0,0 +1,14 @@
+$NetBSD: patch-ar,v 1.1.1.1 2002/05/31 13:01:20 seb Exp $
+
+--- ./zotnet/mts/client.c.orig Fri Sep 10 14:47:56 1999
++++ ./zotnet/mts/client.c Tue Feb 29 22:38:35 2000
+@@ -360,7 +360,8 @@
+ /* taken from ISODE's compat/internet.c */
+
+ #if !defined(SOLARIS) && !defined(linux) && !defined(__bsdi__) && \
+- !defined(OSF1) && !defined(__osf__) && !defined(__FreeBSD__)
++ !defined(OSF1) && !defined(__osf__) && !defined(__FreeBSD__) && \
++ !defined(__NetBSD__)
+ #ifndef DG
+ #ifndef __alpha
+ u_long inet_addr ();