diff options
author | rafan <rafan@FreeBSD.org> | 2006-11-15 03:01:12 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-11-15 03:01:12 +0800 |
commit | 60309a1348abf7e27de20ef903b3e0bf37b547cc (patch) | |
tree | 709236958fe2cc636f92de9cb1a37036a0829378 /chinese/big5width | |
parent | e8ae8598bae4b075bae445b521e39c807b3c4745 (diff) | |
download | freebsd-ports-graphics-60309a1348abf7e27de20ef903b3e0bf37b547cc.tar.gz freebsd-ports-graphics-60309a1348abf7e27de20ef903b3e0bf37b547cc.tar.zst freebsd-ports-graphics-60309a1348abf7e27de20ef903b3e0bf37b547cc.zip |
- Now I understand what really happened. share/locale/zh_TW.UTF-8/LC_CTYPE
is a symlink to ../UTF-8/LC_CTYPE. So, changing the linking target is
enough.
This should really fix pointyhat build.
Diffstat (limited to 'chinese/big5width')
-rw-r--r-- | chinese/big5width/Makefile | 4 | ||||
-rw-r--r-- | chinese/big5width/pkg-plist | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/chinese/big5width/Makefile b/chinese/big5width/Makefile index 0210346b2ec..1a38b536a7e 100644 --- a/chinese/big5width/Makefile +++ b/chinese/big5width/Makefile @@ -46,9 +46,7 @@ do-build: do-install: ${MKDIR} ${LOCALEDIR}/${LANG} ${INSTALL_DATA} ${WRKSRC}/LC_CTYPE ${LOCALEDIR}/${LANG} - ${CP} -p ${BASELOCALEDIR}/${LANG}/LC_CTYPE \ - ${LOCALEDIR}/${LANG}/LC_CTYPE.old - ${CP} -p ${LOCALEDIR}/${LANG}/LC_CTYPE \ + ${LN} -fs ${LOCALEDIR}/${LANG}/LC_CTYPE \ ${BASELOCALEDIR}/${LANG}/LC_CTYPE post-install: diff --git a/chinese/big5width/pkg-plist b/chinese/big5width/pkg-plist index 96744b47bdb..eb30195a869 100644 --- a/chinese/big5width/pkg-plist +++ b/chinese/big5width/pkg-plist @@ -1,5 +1,5 @@ share/locale/%%LANG%%/LC_CTYPE -@unexec mv -f %D/share/locale/%%LANG%%/LC_CTYPE.old %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE +@unexec ln -fs ../UTF-8/LC_CTYPE %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE @dirrm share/locale/%%LANG%% @dirrmtry share/locale -@exec cp -p %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE %D/share/locale/%%LANG%%/LC_CTYPE.old; cp -p %D/share/locale/%%LANG%%/LC_CTYPE %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE +@exec ln -fs %D/share/locale/%%LANG%%/LC_CTYPE %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE |