mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 08:00:48 +01:00
Link LC_CTYPE inside dirs instead of dirs linking
This commit is contained in:
parent
3607ca745e
commit
c3b974751f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11638
@ -8,11 +8,20 @@ MAN1= mklocale.1
|
||||
LOCALES= ja_JP.EUC ru_SU.KOI8-R lt_LN.ISO_8859-1 ru_SU.CP866
|
||||
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
||||
|
||||
LATIN1LINKS = \
|
||||
da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \
|
||||
fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \
|
||||
pt_PT sv_SE
|
||||
|
||||
afterinstall:
|
||||
for locale in ${LOCALES}; do \
|
||||
mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/$$locale; \
|
||||
chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$locale/LC_CTYPE; \
|
||||
chmod 644 ${LOCALEDIR}/$$locale/LC_CTYPE; \
|
||||
done
|
||||
for l in ${LATIN1LINKS}; do \
|
||||
ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \
|
||||
${LOCALEDIR}/$$l.ISO_8859-1/LC_CTYPE; \
|
||||
done
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user