Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142756527
D31397.id93181.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
6 KB
Referenced Files
None
Subscribers
None
D31397.id93181.diff
View Options
Index: share/colldef/Makefile
===================================================================
--- share/colldef/Makefile
+++ share/colldef/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_COLLATE
.SUFFIXES: .src .LC_COLLATE
Index: share/colldef_unicode/Makefile
===================================================================
--- share/colldef_unicode/Makefile
+++ share/colldef_unicode/Makefile
@@ -2,6 +2,7 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_COLLATE
.SUFFIXES: .src .LC_COLLATE
@@ -107,6 +108,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: share/ctypedef/Makefile
===================================================================
--- share/ctypedef/Makefile
+++ share/ctypedef/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+PACKAGE= locales
+FILESGROUPS= FILES ALWAYS
+ALWAYSPACKAGE= runtime
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_CTYPE
.SUFFIXES: .src .LC_CTYPE
@@ -212,12 +215,15 @@
SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
.endif
-FILES= ${LOCALES:S/$/.LC_CTYPE/}
+# C.UTF-8 is the default locale, so it should always been installed.
+ALWAYS= C.UTF-8.LC_CTYPE
+FILES= ${LOCALES:NC.UTF-8:S/$/.LC_CTYPE/}
CLEANFILES= ${FILES}
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
@@ -225,6 +231,7 @@
.for f in ${LOCALES}
FILESDIR_${f}.LC_CTYPE= ${LOCALEDIR}/${f}
.endfor
+FILESDIR_C.UTF-8.LC_CTYPEPACKAGE= runtime
SYMPAIRS+= zh_CN.eucCN.src zh_CN.GB18030.src
SYMPAIRS+= zh_CN.eucCN.src zh_CN.GB2312.src
Index: share/monetdef/Makefile
===================================================================
--- share/monetdef/Makefile
+++ share/monetdef/Makefile
@@ -2,6 +2,7 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_MONETARY
.SUFFIXES: .src .out
@@ -132,6 +133,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: share/monetdef_unicode/Makefile
===================================================================
--- share/monetdef_unicode/Makefile
+++ share/monetdef_unicode/Makefile
@@ -2,6 +2,7 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_MONETARY
.SUFFIXES: .src .out
@@ -99,6 +100,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: share/msgdef/Makefile
===================================================================
--- share/msgdef/Makefile
+++ share/msgdef/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_MESSAGES
.SUFFIXES: .src .out
@@ -125,6 +126,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: share/msgdef_unicode/Makefile
===================================================================
--- share/msgdef_unicode/Makefile
+++ share/msgdef_unicode/Makefile
@@ -2,6 +2,7 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_MESSAGES
.SUFFIXES: .src .out
@@ -99,6 +100,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: share/numericdef/Makefile
===================================================================
--- share/numericdef/Makefile
+++ share/numericdef/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= locale
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_NUMERIC
.SUFFIXES: .src .out
@@ -128,6 +129,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: share/numericdef_unicode/Makefile
===================================================================
--- share/numericdef_unicode/Makefile
+++ share/numericdef_unicode/Makefile
@@ -2,6 +2,7 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_NUMERIC
.SUFFIXES: .src .out
@@ -99,6 +100,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: share/timedef/Makefile
===================================================================
--- share/timedef/Makefile
+++ share/timedef/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= locales
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_TIME
.SUFFIXES: .src .out
@@ -211,6 +212,7 @@
.for f t in ${SAME}
DIRS+= LOCALEDIR_$t
LOCALEDIR_$t= ${LOCALEDIR}/$t
+LOCALEDIR_$tPACKAGE= locales
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
Index: tools/tools/locale/tools/cldr2def.pl
===================================================================
--- tools/tools/locale/tools/cldr2def.pl
+++ tools/tools/locale/tools/cldr2def.pl
@@ -952,6 +952,7 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.
+PACKAGE= locales
LOCALEDIR= \${SHAREDIR}/locale
FILESNAME= $FILESNAMES{$TYPE}
.SUFFIXES: .src .${SRCOUT2}
@@ -1084,6 +1085,7 @@
.for f t in \${SAME}
DIRS+= LOCALEDIR_\$t
LOCALEDIR_\$t= \${LOCALEDIR}/\$t
+LOCALEDIR_\$tPACKAGE= locales
SYMLINKS+= ../\$f/\${FILESNAME} \\
\${LOCALEDIR}/\$t/\${FILESNAME}
.endfor
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 24, 5:01 AM (38 m, 11 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27893977
Default Alt Text
D31397.id93181.diff (6 KB)
Attached To
Mode
D31397: pkgbase: move locales into their own package
Attached
Detach File
Event Timeline
Log In to Comment