git: Create short name locales

John Marino marino at crater.dragonflybsd.org
Sat Jul 18 03:02:02 PDT 2015


commit 58eff38afa67d4a9a3d698f6340f2213020cedb6
Author: John Marino <draco at marino.st>
Date:   Sat Jul 18 11:13:51 2015 +0200

    Create short name locales
    
    In other (non-BSD?) platforms, it's possible to use a locale such as
    "en_GB".  Up until now, this did not work on DragonFly.  It required
    a codeset as well, so if "en_GB.UTF-8" wasn't specified, setlocale
    would fail.
    
    Every locale except two has a version that uses the UTF-8 codeset,
    so a symlink was created to these to create these territory locales.
    The other two are
      hi_IN => hi_IN.ISCII-DEV
      la_LN => la_LN.ISO8859-1
    
    This should improve cross-platform compatibility, and it will lead
    to a change in gcc50 libstdc++ locale handling.
    
    While here, set the "share" directory to build in parallel rather
    than serially.

Summary of changes:
 share/Makefile              |  4 +++-
 share/locale-links/Makefile | 22 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 share/locale-links/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/58eff38afa67d4a9a3d698f6340f2213020cedb6


-- 
DragonFly BSD source repository


More information about the Commits mailing list