Mail archive
alpine-aports

[alpine-aports] [PATCH 7/7] main/libffi: add linux-headers dependency on mips archs

From: Nils Andreas Svee <me_at_lochnair.net>
Date: Sun, 10 Dec 2017 01:18:14 +0100

libffi depends on the asm/sgidefs.h kernel header, so if we're compiling on MIPS,
add linux-headers to makedepends_host
---
 main/libffi/APKBUILD | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index 36ce7085f8..9ba93bcd2e 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
_at_@ -15,6 +15,10 @@ source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
 	pax-dlmmap.patch
 	"
 
+case "$CTARGET_ARCH" in
+mips*)	makedepends_host="linux-headers" ;;
+esac
+
 builddir="$srcdir"/$pkgname-$pkgver
 
 build () {
-- 
2.15.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Dec 10 2017 - 01:18:14 GMT