attr: force bash for configure/libtool.

This commit is contained in:
Leah Neukirchen 2018-05-08 18:15:33 +02:00
parent 035b6e6009
commit 40b40b318a

View file

@ -1,7 +1,7 @@
# Template file for 'attr'
pkgname=attr
version=2.4.47
revision=6
revision=7
bootstrap=yes
build_style=gnu-configure
checkdepends="perl"
@ -15,6 +15,9 @@ checksum=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859
make_check_args="-j1" # Tests broken when ran in parallel
make_check_target="tests"
# 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