X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx12.valuehost.ru (mx12.valuehost.ru [217.112.42.215]) by lists.alpinelinux.org (Postfix) with ESMTP id 0B7C55C671F for ; Tue, 4 Dec 2018 17:57:56 +0000 (GMT) Received: from mx7.valuehost.ru (unknown [127.0.0.255]) by mx12.valuehost.ru (Postfix) with ESMTP id C024A54213 for ; Tue, 4 Dec 2018 20:57:54 +0300 (MSK) From: alpine-mips-patches Date: Tue, 4 Dec 2018 17:42:25 +0000 Subject: [alpine-aports] [PATCH] community/nbd: fix build (bashisms) To: alpine-aports@lists.alpinelinux.org Message-Id: <20181204175754.C024A54213@mx12.valuehost.ru> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: ./configure tries to update CFLAGS/LIBS with LIBNL3_CFLAGS/LIBS using '+=': checking for LIBNL3... yes ./configure: line 14545: CFLAGS+= -I/usr/include/libnl3 : not found ./configure: line 14546: LIBS+= -lnl-genl-3 -lnl-3 : not found so later build fails without proper libnl3 flags: nbd-client.c:51:10: fatal error: netlink/netlink.h: No such file or directory #include nbd-3.18 suffers from the same problem. --- community/nbd/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/community/nbd/APKBUILD b/community/nbd/APKBUILD index 71a32dd176..106db87e3f 100644 --- a/community/nbd/APKBUILD +++ b/community/nbd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter pkgname=nbd pkgver=3.17 -pkgrel=2 +pkgrel=3 pkgdesc="Tools for network block devices" url="http://nbd.sourceforge.net" arch="all" @@ -17,6 +17,7 @@ builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" + CONFIG_SHELL=/bin/bash \ ./configure \ --build=$CBUILD \ --host=$CHOST \ -- 2.19.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---