diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2021-05-23 11:30:45 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2021-05-23 11:32:47 +0300 |
commit | 65fbe89d1baf3264b2ce07405278c984df5eef11 (patch) | |
tree | 68adccac7acf6c702b7989dd0a4f821d4bdfc3eb | |
parent | app-text/cuneiform: Fix build with g++-11 (diff) | |
download | gentoo-65fbe89d1baf3264b2ce07405278c984df5eef11.tar.gz gentoo-65fbe89d1baf3264b2ce07405278c984df5eef11.tar.bz2 gentoo-65fbe89d1baf3264b2ce07405278c984df5eef11.zip |
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@gentoo.org>
-rw-r--r-- | media-video/motiontrack/motiontrack-0.1.3-r2.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media-video/motiontrack/motiontrack-0.1.3-r2.ebuild b/media-video/motiontrack/motiontrack-0.1.3-r2.ebuild index 36f69311536f..58f8ed1713af 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) \ |