Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2026 21:02:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 295945] Set the ports tree locale to C.UTF-8 in Mk/bsd.port.mk and retire USE_LOCALE
Message-ID:  <bug-295945-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295945

            Bug ID: 295945
           Summary: Set the ports tree locale to C.UTF-8 in Mk/bsd.port.mk
                    and retire USE_LOCALE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: tijl@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 271630
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271630&action=edit
patch

*/*: Use C.UTF-8 locale

Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible with
the C locale, like xx_YY.UTF-8 locales for example where [A-Z] includes more
than just upper case letters.  USE_LOCALE was introduced to let ports use
another locale if they needed it.  The C.UTF-8 locale was created later on to
be mostly compatible with the C locale.

Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE.  The world has
switched to Unicode so all ports either require it or know how to build
correctly in a Unicode environment.


games/aisleriot: Install file with non-ASCII name

The file is extracted correctly now that the ports tree uses UTF-8.


shells/fd: Pass LANG via MAKE_ARGS

The upstream build system uses LANG to determine the location of Japanese
manpages.  Pass this through MAKE_ARGS instead of USE_LOCALE because "ja" is
not a valid locale.

While here use the upstream make variable BUILD for DESTDIR.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295945-7788>