From 0a5d5443a0a8d8c4e2ddf66724e030407a151c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 9 Nov 2017 15:31:14 +0100 Subject: [PATCH] gnupg: don't run checks for i686-musl The checks make gnupg crash and the build fail. This means that some part of gnupg is broken for i686-musl. Aloow it to build, though, to make it available as a dependency for other packages. --- srcpkgs/gnupg/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template index 90242a874e8..3744e0482d8 100644 --- a/srcpkgs/gnupg/template +++ b/srcpkgs/gnupg/template @@ -11,3 +11,9 @@ license="GPL-3" homepage="http://www.gnupg.org/" distfiles="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${version}.tar.bz2" checksum=9594a24bec63a21568424242e3f198b9d9828dea5ff0c335e47b06f835f930b4 + +post_extract() { + case "$XBPS_TARGET_MACHINE" in + i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;; + esac +}