Subject: [alpine-aports] [PATCH] community/ilmbase: fix build (bashisms)

From: alpine-mips-patches <[email-masked]>
Date: Fri, 30 Nov 2018 10:36:49 +0000

On edge (x86_64, mipsel) build fails:

./configure: line 17377: syntax error: unexpected "(" (expecting "fi")

checkbashisms reports multiple problems in ./configure so just run it with
/bin/bash (especially since makedepends requires bash). Note neither 2.2.1
(tried) nor 2.3.0 (according to the source code) change anything regarding
this matter.
---
 community/ilmbase/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/community/ilmbase/APKBUILD b/community/ilmbase/APKBUILD
index 430d9e2fd4..34dfc241a4 100644
--- a/community/ilmbase/APKBUILD
+++ b/community/ilmbase/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Mark Riedesel <[email-masked]>
 pkgname=ilmbase
 pkgver=2.2.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Base libraries from ILM for OpenEXR"
 url="http://www.openexr.com"
 arch="all"
@@ -19,6 +19,7 @@ prepare() {
 
 build() {
 	cd "$builddir"
+	CONFIG_SHELL=/bin/bash /bin/bash \
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-- 
2.19.2

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