Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145345588
D52898.1777687785.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D52898.1777687785.diff
View Options
diff --git a/lib/libc/nls/Makefile.inc b/lib/libc/nls/Makefile.inc
--- a/lib/libc/nls/Makefile.inc
+++ b/lib/libc/nls/Makefile.inc
@@ -12,6 +12,11 @@
# for translators.
NLSNAME= libc
+# We don't want libc's NLS catalogues to be installed in the clibs package.
+# Put them in locales instead, since anyone interested in NLS will have
+# that installed.
+NLSPACKAGE= locales
+
NLS+= be_BY.UTF-8
NLS+= ca_ES.ISO8859-1
NLS+= de_DE.ISO8859-1
diff --git a/share/mk/bsd.nls.mk b/share/mk/bsd.nls.mk
--- a/share/mk/bsd.nls.mk
+++ b/share/mk/bsd.nls.mk
@@ -1,6 +1,8 @@
#
-# This include file <bsd.nls.mk> handles building and installing Native
-# Language Support (NLS) catalogs
+# Handle building and installing Native Language Support (NLS) catalogs.
+# This is implemented using a <bsd.files.mk> files group called "NLS",
+# so any per-group options that bsd.files.mk supports can be used here
+# with the prefix "NLS".
#
# +++ variables +++
#
@@ -17,6 +19,9 @@
# NLSMODE National Language Support files mode. [${NOBINMODE}]
#
# NLSOWN National Language Support files owner. [${SHAREOWN}]
+#
+# NLSPACKAGE Package to install the NLS files in.
+# [${PACKAGE}, or "utilities" if not set]
.if !target(__<bsd.init.mk>__)
.error bsd.nls.mk cannot be included directly.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 2, 2:09 AM (1 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28535394
Default Alt Text
D52898.1777687785.diff (1 KB)
Attached To
Mode
D52898: libc: Move NLS catalogues to the locales packages
Attached
Detach File
Event Timeline
Log In to Comment