Mail archive
alpine-aports

[alpine-aports] [PATCH] main/libffi: fix native build on mips*

From: Mobile Stream <info_at_mobile-stream.com>
Date: Fri, 10 Aug 2018 16:47:03 +0300

libffi needs asm/sgidefs.h on mips* from linux-headers however abuild ignores makedepends_host in native build if makedepends is set explicitly.

The usual makedepends="$makedepends_build $makedepends_host" is not added by this patch because abuild properly reconstructs it.

---
 main/libffi/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index 313af2e56d..b9130c8411 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
_at_@ -7,7 +7,7 @@ url="http://sourceware.org/libffi"
 arch="all"
 license="MIT"
 depends=
-makedepends="texinfo"
+makedepends_build="texinfo"
 # linux-headers is needed for MIPS atleast
 makedepends_host="linux-headers"
 install=
-- 
2.18.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Aug 10 2018 - 16:47:03 GMT