summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/big5width/Makefile4
-rw-r--r--chinese/big5width/pkg-plist4
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
OpenPOWER on IntegriCloud