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.
===> The following configuration options are available for ja-mh-6.8.4.j3.05_9:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
japanese/mh: fix build on 16.0-current/15.0-stable and add LICENSE
${WRKSRC}/uip/vmh.c includes <term.h> (a part of ncurses).
And on FreeBSD term.h includes <termios.h> with ncurses-6.5.
But since ncurses-6.6 term.h doesn't include termios/termio/sgttyb headers
and doesn't define some related symbols. These directive has been excluded
with "#ifdef NCURSES_INTERNALS".
PR: 293936
MFH: 2026Q2
See
also: https://forums.gentoo.org/viewtopic-t-1100154-start-0-postdays-0-postorder-asc-highlight-.html
Event: Wiesbaden Hackathon 202604
japanese/mh: include errno.h for errno
errno must be accessed by a macro from errno.h.
Due to the sheer number of instances use REINPLACE_CMD to replace most
instances of "extern int errno;" with "#include <errno.h>". In a few
places the errno decleration was a function-scope global where
including a header didn't make sense patch those out (the files already
included errno.h). This isn't the most elegant, but it's the least of
the issues with this code.
PR: 281787
Approved by: portmgr (build fix blanket), mikael
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
japanese/mh: Fix man pages, runtime error
- man pages breakage on FreeBSD 11.x and later
- runtime error due to lld 6.0 issue, fixed by using lld 7.0
PR: 233463, 235456
Submitted by: WATANABE Kazuhiro <CQG00620@nifty.ne.jp> (maintainer), nyan
MFH: 2019Q1
[Patch] japanese/mh: port to termios
The japanese/mh port is one of the last ports that still depends on
COMPAT_43TTY, because it uses the sgtty programming interface. We'd
better port it to the POSIX termios interface. The source code already
contains code for SysV termio, which makes it easier to port.
PR: ports/124466
Submitted by: Ed Schouten <ed@FreeBSD.org>
Approved by: maintainer timeout
Fix BROKEN on gcc 4.2.
PR: ports/119679
Submitted by: Tsuyoshi Arai <taraijpn@gmail.com>
Reviewed by: nyan
Note: I committed only some part of the PR. It's enough to unbreak
this port.
* Update to 6.8.4 JP 3.05.
* Use <stdarg.h> instead of <varargs.h> [1].
Use of <varargs.h> causes error on FreeBSD 5-current with GCC 3.3.1.
Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> [1]
PR: ports/54524