From b9e9d4d48bbe0dd48a89fdf6b772f0ccd0faab59 Mon Sep 17 00:00:00 2001 From: alpine-mips-patches Date: Mon, 3 Dec 2018 10:26:31 +0000 Subject: 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. --- community/biber/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/community/biber/APKBUILD b/community/biber/APKBUILD index 7f86e89a4d..8b83a6eac7 100644 --- a/community/biber/APKBUILD +++ b/community/biber/APKBUILD @@ -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 } -- cgit v1.2.3