Module Name: src Committed By: wiz Date: Thu Mar 13 09:13:32 UTC 2014
Modified Files: src/external/bsd/mdocml/bin/mandoc: Makefile Log Message: When not built as host tool, define USE_WCHAR to get locale support. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/mdocml/bin/mandoc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/mdocml/bin/mandoc/Makefile diff -u src/external/bsd/mdocml/bin/mandoc/Makefile:1.6 src/external/bsd/mdocml/bin/mandoc/Makefile:1.7 --- src/external/bsd/mdocml/bin/mandoc/Makefile:1.6 Tue Oct 11 19:20:13 2011 +++ src/external/bsd/mdocml/bin/mandoc/Makefile Thu Mar 13 09:13:32 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2011/10/11 19:20:13 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2014/03/13 09:13:32 wiz Exp $ .include <bsd.own.mk> @@ -13,6 +13,7 @@ SRCS= chars.c main.c out.c tree.c \ .ifndef HOSTPROG DPADD+= ${MDOCMLLIB.mandoc} LDADD+= -L${MDOCMLOBJDIR.mandoc} -lmandoc +CPPFLAGS+= -DUSE_WCHAR .else SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'