Subject: [alpine-aports] [PATCH] main/graphviz: fix build

From: alpine-mips-patches <[email-masked]>
Date: Tue, 20 Nov 2018 22:10:57 +0000

graphviz uses custom feature-testing tool written in shell, ./iffe.

On recent edge iffe generates somewhat incomplete ./FEATURE/sfio
thus causing build to fail. Work-around this by using /bin/bash for
the build time only.
---
 main/graphviz/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD
index 424966bfee..5145105084 100644
--- a/main/graphviz/APKBUILD
+++ b/main/graphviz/APKBUILD
@@ -13,7 +13,7 @@ depends_dev="zlib-dev libpng-dev libjpeg-turbo-dev expat-dev
 	fontconfig-dev libsm-dev libxext-dev cairo-dev pango-dev
 	librsvg-dev gmp-dev freetype-dev"
 makedepends="$depends_dev flex swig python2-dev m4 libtool
-	bison gtk+2.0-dev lua$_luaver-dev libltdl tcl autoconf automake"
+	bison gtk+2.0-dev lua$_luaver-dev libltdl tcl autoconf automake bash"
 install="$pkgname.pre-deinstall"
 triggers="$pkgname.trigger=/usr/lib/graphviz"
 subpackages="$pkgname-dev $pkgname-doc py2-gv:py lua$_luaver-$pkgname:_lua
@@ -38,6 +38,7 @@ prepare() {
 build() {
 	cd "$builddir"
 
+	CONFIG_SHELL=/bin/bash \
 	LIBPOSTFIX=/ \
 	LUA=lua$_luaver \
 	lua_suffix=$_luaver \
-- 
2.19.1

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