acl: use wordsize for libdir

This commit is contained in:
q66 2020-12-22 21:32:34 +01:00
parent 80a0ea38e8
commit 5e385183c8

View file

@ -4,7 +4,8 @@ version=2.2.53
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
configure_args="--libdir=/usr/lib${XBPS_TARGET_WORDSIZE}
--libexecdir=/usr/lib${XBPS_TARGET_WORDSIZE}"
makedepends="attr-devel"
short_desc="Access Control List filesystem support"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -17,9 +18,6 @@ if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
fi
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
configure_args="--libdir=/usr/lib32 --libexecdir=/usr/lib32"
fi
acl-devel_package() {
depends="attr-devel acl>=${version}_${revision}"