localedef(1): Better bootstrap fix
authorJohn Marino <draco@marino.st>
Wed, 29 Jul 2015 09:30:16 +0000 (11:30 +0200)
committerJohn Marino <draco@marino.st>
Wed, 29 Jul 2015 09:30:16 +0000 (11:30 +0200)
commiteda2d2afc72ac481730932259cb9a76ec9554d95
tree69961547406bba3c5cb8c0c1464790f9dab66d6f
parentb8c3f642018ae67d71d31bd8c6acdd8f0aa20176
localedef(1): Better bootstrap fix

We don't need to build localedef in ctools as well as bootstrap tools.
Moreover, when I removed from bootstrap tools, it built but segfaulted
on use.  The COLL_WEIGHTS_MAX file needs to be in the header because
it affects the structure definition.  When it's moved there, the build
on older platforms will succeed.
Makefile.inc1
lib/libc/locale/collate.h
usr.bin/localedef/collate.c