diff options
author | rafan <rafan@FreeBSD.org> | 2006-11-11 21:27:12 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-11-11 21:27:12 +0000 |
commit | 05ec75011ede1aa0a6d08910de46c87eae4edb9a (patch) | |
tree | 922beee5abdca00d3f0ae211be363671bf5b2fc3 /chinese | |
parent | af90f1ffde87ac44c99d027a1e9ac4cf319f36e2 (diff) | |
download | FreeBSD-ports-05ec75011ede1aa0a6d08910de46c87eae4edb9a.zip FreeBSD-ports-05ec75011ede1aa0a6d08910de46c87eae4edb9a.tar.gz |
- Link is evil. Instead, we directly overwrite the locale file and
put it back when deinstall.
This should fix the build according to my tinderbox.
Diffstat (limited to 'chinese')
-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 01b0fdf..0210346 100644 --- a/chinese/big5width/Makefile +++ b/chinese/big5width/Makefile @@ -48,10 +48,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/LC_CTYPE ${LOCALEDIR}/${LANG} ${CP} -p ${BASELOCALEDIR}/${LANG}/LC_CTYPE \ ${LOCALEDIR}/${LANG}/LC_CTYPE.old -.if !defined(PACKAGE_BUILDING) # don't modify building environment - ${LN} -sf ${LOCALEDIR}/${LANG}/LC_CTYPE \ + ${CP} -p ${LOCALEDIR}/${LANG}/LC_CTYPE \ ${BASELOCALEDIR}/${LANG}/LC_CTYPE -.endif post-install: @${CAT} ${PKGMESSAGE} diff --git a/chinese/big5width/pkg-plist b/chinese/big5width/pkg-plist index 5623a64..96744b4 100644 --- a/chinese/big5width/pkg-plist +++ b/chinese/big5width/pkg-plist @@ -1,5 +1,5 @@ share/locale/%%LANG%%/LC_CTYPE -@unexec rm -f %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE; mv -f %D/share/locale/%%LANG%%/LC_CTYPE.old %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE +@unexec mv -f %D/share/locale/%%LANG%%/LC_CTYPE.old %%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; ln -sf %D/share/locale/%%LANG%%/LC_CTYPE %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE +@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 |