commit: 65fbe89d1baf3264b2ce07405278c984df5eef11
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun May 23 08:30:45 2021 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun May 23 08:32:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65fbe89d
media-video/motiontrack: fix build with /bin/sh != bash
When /bin/sh is not bash (e.g. dash), build fails as follows:
./configure: 6043: arithmetic expression: expecting primary: " FORMAT_COUNT++ "
Since configure contains bash-specific code, exclicitly ask
/bin/bash as the CONFIG_SHELL.
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
media-video/motiontrack/motiontrack-0.1.3-r2.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/media-video/motiontrack/motiontrack-0.1.3-r2.ebuild
b/media-video/motiontrack/motiontrack-0.1.3-r2.ebuild
index 36f69311536..58f8ed1713a 100644
--- a/media-video/motiontrack/motiontrack-0.1.3-r2.ebuild
+++ b/media-video/motiontrack/motiontrack-0.1.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -28,6 +28,7 @@ src_configure() {
# with GCC 5, bug 570352
append-cflags -std=gnu89
+ CONFIG_SHELL="${EPREFIX}/bin/bash" \
econf \
$(use_enable debug) \
$(use_enable !imagemagick gd) \