community/biber: disable long year test on mips{el}

Re-organize CARCH check for brevity (so match armel as well)
and use mipsel* not mipsel to cover out-of-tree mipseln8hf.
This commit is contained in:
alpine-mips-patches 2018-12-03 10:26:31 +00:00 committed by Leonardo Arena
parent 2b9526c277
commit b9e9d4d48b

View File

@ -28,9 +28,10 @@ builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
# Disable long year tests on 32 bit
if [ $CARCH = "x86" ] || [ $CARCH = "armhf" ] || [ $CARCH = "armv7" ]; then
case "$CARCH" in arm*|mips|mipsel*|x86)
sed -i '/17000002/ s+.*+eq_or_diff("dummy", "dummy", "skip 32 bit");+' t/dateformats.t
fi
;;
esac
perl Build.PL installdirs=vendor
}