[alpine-aports] [PATCH] community/biber: disable long year test on mips{el}

alpine-mips-patches
Details
Message ID
<20181203105412.69A314C4AA@mx12.valuehost.ru>
Sender timestamp
1543832791
DKIM signature
missing
Download raw message
Patch: +3 -2
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
 }
 
-- 
2.19.2




---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---