Subject: [alpine-aports] [PATCH] main/nghttp2: enable cross-compilation

From: alpine-mips-patches <[email-masked]>
Date: Tue, 15 Jan 2019 05:18:12 +0000

This is a trivial prerequisite for nodejs cross-compilation support.

Keep pkgrel instact since this change does not affect the produced apk.

---
 main/nghttp2/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/nghttp2/APKBUILD b/main/nghttp2/APKBUILD
index 47681fcf5c..8073e7306e 100644
--- a/main/nghttp2/APKBUILD
+++ b/main/nghttp2/APKBUILD
@@ -7,7 +7,8 @@ pkgdesc="Experimental HTTP/2 client, server and proxy"
 url="https://nghttp2.org"
 arch="all"
 license="MIT"
-makedepends="libev-dev openssl-dev zlib-dev c-ares-dev autoconf automake libtool"
+makedepends_build="autoconf automake libtool"
+makedepends_host="libev-dev openssl-dev zlib-dev c-ares-dev"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
 source="https://github.com/tatsuhiro-t/$pkgname/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz
 remove-mruby-tests.patch"
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---