summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-26 21:47:54 +0000
committerru <ru@FreeBSD.org>2005-02-26 21:47:54 +0000
commitdff27cebe275d2de1de24d62623529f164c72a94 (patch)
treed3e227cd7ec0d15f6cf44deceb0a9da81b1c521c /tools
parentb34b4a5a6425877bb5b584eec83471a89ebe46d1 (diff)
downloadFreeBSD-src-dff27cebe275d2de1de24d62623529f164c72a94.zip
FreeBSD-src-dff27cebe275d2de1de24d62623529f164c72a94.tar.gz
Make the format of LC_CTYPE files architecture independent by
introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.)
Diffstat (limited to 'tools')
-rw-r--r--tools/build/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 7b25322..885a4c8 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -26,6 +26,11 @@ INCS+= elf-hints.h
INCS+= stdbool.h
.endif
+# usr.bin/mklocale needs <runefile.h>.
+.if !exists(/usr/include/runefile.h)
+INCS+= runefile.h
+.endif
+
# usr.bin/xargs needs <nl_langinfo.h>.
.if !exists(/usr/include/langinfo.h)
INCS+= langinfo.h
OpenPOWER on IntegriCloud