Fix COMPAT_SYMLINK for ja_JP.eucJP.
Spotted by: simon
This commit is contained in:
parent
8b7fbe70ad
commit
36a03b0c94
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25867
1 changed files with 2 additions and 3 deletions
|
@ -69,14 +69,13 @@ package: realpackage symlinks
|
|||
realpackage: _SUBDIRUSE
|
||||
|
||||
.if !defined(IGNORE_COMPAT_SYMLINK) && defined(COMPAT_SYMLINK)
|
||||
SYMLINKS+= ${DOCDIR} ${.CURDIR:T:ja_JP.eucJP=ja} \
|
||||
${COMPAT_SYMLINK:ja=ja_JP.eucJP}
|
||||
SYMLINKS+= ${DOCDIR} ${.CURDIR:T} ${COMPAT_SYMLINK}
|
||||
.endif
|
||||
|
||||
.if defined(PRI_LANG) && defined(ROOT_SYMLINKS) && !empty(ROOT_SYMLINKS)
|
||||
.if ${PRI_LANG} == ${LANGCODE}
|
||||
.for _tmp in ${ROOT_SYMLINKS}
|
||||
SYMLINKS+= ${DOCDIR} ${LANGCODE:ja_JP.eucJP=ja}/${.CURDIR:T}/${_tmp} ${_tmp}
|
||||
SYMLINKS+= ${DOCDIR} ${LANGCODE}/${.CURDIR:T}/${_tmp} ${_tmp}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue