base-files: install /usr/lib32 symlink on i686
This commit is contained in:
parent
b8f7f91f8e
commit
23ff926700
|
@ -1,7 +1,8 @@
|
||||||
# This hook removes the /usr/lib32 symlink on x86.
|
# This hook removes the /usr/lib32 symlink on 32-bit systems.
|
||||||
|
|
||||||
hook() {
|
hook() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
|
||||||
|
[ "${pkgname}" != "base-files" ]; then
|
||||||
rm -f ${PKGDESTDIR}/usr/lib32
|
rm -f ${PKGDESTDIR}/usr/lib32
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# This hook creates the /usr/lib32 symlink for x86.
|
# This hook creates the /usr/lib32 symlink for 32-bit systems.
|
||||||
|
|
||||||
hook() {
|
hook() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
|
||||||
|
[ "${pkgname}" != "base-files" ]; then
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib
|
||||||
ln -sf lib ${PKGDESTDIR}/usr/lib32
|
ln -sf lib ${PKGDESTDIR}/usr/lib32
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.140
|
version=0.140
|
||||||
revision=9
|
revision=10
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
short_desc="Void Linux base system files"
|
short_desc="Void Linux base system files"
|
||||||
|
|
Loading…
Reference in New Issue