Fix COMPAT_SYMLINK for ja_JP.eucJP.

Spotted by:	simon
This commit is contained in:
Hiroki Sato 2005-10-05 13:57:35 +00:00
parent 8b7fbe70ad
commit 36a03b0c94
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25867

View file

@ -69,14 +69,13 @@ package: realpackage symlinks
realpackage: _SUBDIRUSE realpackage: _SUBDIRUSE
.if !defined(IGNORE_COMPAT_SYMLINK) && defined(COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK) && defined(COMPAT_SYMLINK)
SYMLINKS+= ${DOCDIR} ${.CURDIR:T:ja_JP.eucJP=ja} \ SYMLINKS+= ${DOCDIR} ${.CURDIR:T} ${COMPAT_SYMLINK}
${COMPAT_SYMLINK:ja=ja_JP.eucJP}
.endif .endif
.if defined(PRI_LANG) && defined(ROOT_SYMLINKS) && !empty(ROOT_SYMLINKS) .if defined(PRI_LANG) && defined(ROOT_SYMLINKS) && !empty(ROOT_SYMLINKS)
.if ${PRI_LANG} == ${LANGCODE} .if ${PRI_LANG} == ${LANGCODE}
.for _tmp in ${ROOT_SYMLINKS} .for _tmp in ${ROOT_SYMLINKS}
SYMLINKS+= ${DOCDIR} ${LANGCODE:ja_JP.eucJP=ja}/${.CURDIR:T}/${_tmp} ${_tmp} SYMLINKS+= ${DOCDIR} ${LANGCODE}/${.CURDIR:T}/${_tmp} ${_tmp}
.endfor .endfor
.endif .endif
.endif .endif