Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
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
_at_@ -2,7 +2,7 @@
 # Maintainer: Mark Riedesel <mark+alpine_at_klowner.com>
 pkgname=ilmbase
 pkgver=2.2.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Base libraries from ILM for OpenEXR"
 url="http://www.openexr.com"
 arch="all"
_at_@ -19,6 +19,7 @@ prepare() {
 
 build() {
 	cd "$builddir"
+	CONFIG_SHELL=/bin/bash /bin/bash \
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-- 
2.19.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 30 2018 - 10:36:49 UTC