Patches for aports can be sent to this list

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

alpine-mips-patches
Details
Message ID
<20181120225532.AE5DD4852E@mx7.valuehost.ru>
Sender timestamp
1542751857
DKIM signature
missing
Download raw message
Patch: +2 -1
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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---