attr: use wordsize for libdir

This commit is contained in:
q66 2020-12-22 21:37:58 +01:00
parent 774a3fef75
commit 86a0db8224

View file

@ -5,7 +5,8 @@ revision=1
bootstrap=yes
build_style=gnu-configure
checkdepends="perl"
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
configure_args="--libdir=/usr/lib${XBPS_TARGET_WORDSIZE}
--libexecdir=/usr/lib${XBPS_TARGET_WORDSIZE}"
short_desc="Extended attribute support library for ACL support"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
@ -18,10 +19,6 @@ conf_files="/etc/xattr.conf"
# The included libtool is rotten and only works with bash; easiest fix.
export CONFIG_SHELL=/bin/bash
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
configure_args="--libdir=/usr/lib32 --libexecdir=/usr/lib32"
fi
pre_check() {
# Either the test wasn't updated or the package misconfigures/miscompiles
# the error message in musl based systems