~alpine/aports

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

alpine-mips-patches <info@mobile-stream.com>
Details
Message ID
<20181130110519.222D660A98@mx12.valuehost.ru>
Sender timestamp
1543574209
DKIM signature
missing
Download raw message
Patch: +2 -1
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 <mark+alpine@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"
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)