From 31ea631ca310f433f109a957b78493b256304466 Mon Sep 17 00:00:00 2001 From: Jami Kettunen Date: Mon, 21 Nov 2022 13:19:25 +0200 Subject: [PATCH] base-files: don't include lib32 files for musl Multilib on Void is already only supported on glibc[1] and as per the musl libc FAQ[2] there is no ldconfig. [1] https://docs.voidlinux.org/xbps/repositories/index.html#subrepositories [2] https://wiki.musl-libc.org/faq.html --- srcpkgs/base-files/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index be6384f942c6..0b82d4077658 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -1,7 +1,7 @@ # Template file for 'base-files' pkgname=base-files version=0.142 -revision=14 +revision=15 bootstrap=yes depends="xbps-triggers" short_desc="Void Linux base system files" @@ -46,8 +46,8 @@ do_install() { ln -snrf "${DESTDIR}/usr/lib" \ "${DESTDIR}/${d}${XBPS_TARGET_WORDSIZE}" done - # Populate 32-bit lib files on 64-bit systems, for multilib. - if [ "${XBPS_TARGET_WORDSIZE}" = "64" ]; then + # Populate 32-bit lib files on 64-bit glibc systems, for multilib. + if [ "${XBPS_TARGET_WORDSIZE}" = "64" ] && [ "${XBPS_TARGET_LIBC}" = "glibc" ]; then vmkdir usr/lib32 ln -snrf "${DESTDIR}/usr/lib32" "${DESTDIR}/lib32" ln -sf ../lib/locale "${DESTDIR}/usr/lib32/locale"