base-files: create /usr/lib/locale -> /usr/lib32/locale symlink on x86_64.

This commit is contained in:
Juan RP 2014-03-09 17:42:31 +01:00
parent b5aa55d791
commit 8fe44a556f
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'base-files'
pkgname=base-files
version=0.94
version=0.95
revision=1
bootstrap=yes
build_style="meta"
@ -30,7 +30,9 @@ depends="base-directories xbps-triggers"
do_install() {
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
vmkdir usr/lib
vmkdir usr/lib32
ln -s ../lib32/ld-linux.so.2 ${DESTDIR}/usr/lib/ld-linux.so.2
ln -s ../lib/locale ${DESTDIR}/usr/lib32/locale
vinstall ${FILESDIR}/ld.so.lib32.conf 644 etc/ld.so.conf.d lib32.conf
fi