Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
Date: Mon, 3 Dec 2018 10:26:31 +0000

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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Dec 03 2018 - 10:26:31 UTC