The following patch seems to allow the tool version of mandoc build successfully. (My build hasn't reached the non-tool version yet.)

Index: external/bsd/mdocml/bin/mandoc/Makefile
===================================================================
RCS file: /cvsroot/src/external/bsd/mdocml/bin/mandoc/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- external/bsd/mdocml/bin/mandoc/Makefile     18 Dec 2015 14:33:54 -0000     
1.10
+++ external/bsd/mdocml/bin/mandoc/Makefile     19 Dec 2015 00:35:24 -0000
@@ -18,6 +18,7 @@ CPPFLAGS+=    -DUSE_WCHAR
 SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'

 SRCS+=         ${SRCS.libmandoc} compat_strtonum.c compat_reallocarray.c
+SRCS+=         chars.c
 .endif

 .include <bsd.prog.mk>


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+

Reply via email to