Patches for aports can be sent to this list

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

Mobile Stream
Details
Message ID
<1872357637.20180810164703@mobile-stream.com>
Sender timestamp
1533908823
DKIM signature
missing
Download raw message
Patch: +1 -1
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
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---