Source-Changes-HG archive

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

[src/trunk]: src/tools mklocale now requires <sys/ctype_bits.h> to build, so ...



details:   https://anonhg.NetBSD.org/src/rev/899eefaac67b
branches:  trunk
changeset: 755779:899eefaac67b
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Jun 19 22:36:15 2010 +0000

description:
mklocale now requires <sys/ctype_bits.h> to build, so install it
under ${TOOLDIR} when building as a host tool.

XXX Makefile.disklabel is clearly mis-named.  I'll deal with that
shortly.

diffstat:

 tools/Makefile.disklabel |  3 ++-
 tools/mklocale/Makefile  |  5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 94789c63bb66 -r 899eefaac67b tools/Makefile.disklabel
--- a/tools/Makefile.disklabel  Sat Jun 19 21:33:21 2010 +0000
+++ b/tools/Makefile.disklabel  Sat Jun 19 22:36:15 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.disklabel,v 1.14 2009/12/21 18:21:17 thorpej Exp $
+#      $NetBSD: Makefile.disklabel,v 1.15 2010/06/19 22:36:15 riz Exp $
 
 # NOxxx definitions are copied from Makefile.host, and are
 # required before .include <bsd.own.mk>.   The include of bsd.own.mk
@@ -28,6 +28,7 @@
 
 _INCS=         disktab.h
 _SYSINCS=      bootblock.h \
+               ctype_bits.h \
                disklabel.h disklabel_acorn.h disklabel_gpt.h disklabel_rdb.h \
                dkbad.h \
                exec_elf.h
diff -r 94789c63bb66 -r 899eefaac67b tools/mklocale/Makefile
--- a/tools/mklocale/Makefile   Sat Jun 19 21:33:21 2010 +0000
+++ b/tools/mklocale/Makefile   Sat Jun 19 22:36:15 2010 +0000
@@ -1,6 +1,9 @@
-#      $NetBSD: Makefile,v 1.4 2002/12/08 20:20:03 thorpej Exp $
+#      $NetBSD: Makefile,v 1.5 2010/06/19 22:36:16 riz Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}mklocale
 HOST_SRCDIR=   usr.bin/mklocale
 
+HOST_CPPFLAGS+=        -I${TOOLDIR}/include/nbinclude
+
+.include "${.CURDIR}/../Makefile.disklabel"
 .include "${.CURDIR}/../Makefile.host"



Home | Main Index | Thread Index | Old Index