Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml/bin/mandoc When not built as host tool, ...



details:   https://anonhg.NetBSD.org/src/rev/b00c498c5c1a
branches:  trunk
changeset: 794399:b00c498c5c1a
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Mar 13 09:13:32 2014 +0000

description:
When not built as host tool, define USE_WCHAR to get locale support.

diffstat:

 external/bsd/mdocml/bin/mandoc/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 36bab3c51106 -r b00c498c5c1a external/bsd/mdocml/bin/mandoc/Makefile
--- a/external/bsd/mdocml/bin/mandoc/Makefile   Thu Mar 13 08:13:21 2014 +0000
+++ b/external/bsd/mdocml/bin/mandoc/Makefile   Thu Mar 13 09:13:32 2014 +0000
@@ -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 @@
 .ifndef HOSTPROG
 DPADD+=        ${MDOCMLLIB.mandoc}
 LDADD+=        -L${MDOCMLOBJDIR.mandoc} -lmandoc
+CPPFLAGS+=     -DUSE_WCHAR
 .else
 SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'
 



Home | Main Index | Thread Index | Old Index