From fe9d90fdbb4a0836fbfff32f596449337b484cd5 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 18 Jun 2020 17:12:21 +0200 Subject: media-video/ffmpeg: Move EXTRA_FFMPEG_CONF last to the configure call Otherwise we cant override ebuild-fed options. Closes: https://bugs.gentoo.org/711448 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Alexis Ballier --- media-video/ffmpeg/ffmpeg-4.3.ebuild | 5 +++-- media-video/ffmpeg/ffmpeg-9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'media-video/ffmpeg') diff --git a/media-video/ffmpeg/ffmpeg-4.3.ebuild b/media-video/ffmpeg/ffmpeg-4.3.ebuild index 9c9b6d816bad..c0ff83aacf25 100644 --- a/media-video/ffmpeg/ffmpeg-4.3.ebuild +++ b/media-video/ffmpeg/ffmpeg-4.3.ebuild @@ -345,7 +345,7 @@ src_prepare() { } multilib_src_configure() { - local myconf=( ${EXTRA_FFMPEG_CONF} ) + local myconf=( ) local ffuse=( "${FFMPEG_FLAG_MAP[@]}" ) use openssl || use libressl && use gpl && myconf+=( --enable-nonfree ) @@ -475,7 +475,8 @@ multilib_src_configure() { --ranlib="$(tc-getRANLIB)" \ --optflags="${CFLAGS}" \ $(use_enable static-libs static) \ - "${myconf[@]}" + "${myconf[@]}" \ + ${EXTRA_FFMPEG_CONF} echo "${@}" "${@}" || die diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index 1492176f8a9b..ab35ad930eee 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -344,7 +344,7 @@ src_prepare() { } multilib_src_configure() { - local myconf=( ${EXTRA_FFMPEG_CONF} ) + local myconf=( ) local ffuse=( "${FFMPEG_FLAG_MAP[@]}" ) use openssl || use libressl && use gpl && myconf+=( --enable-nonfree ) @@ -474,7 +474,8 @@ multilib_src_configure() { --ranlib="$(tc-getRANLIB)" \ --optflags="${CFLAGS}" \ $(use_enable static-libs static) \ - "${myconf[@]}" + "${myconf[@]}" \ + ${EXTRA_FFMPEG_CONF} echo "${@}" "${@}" || die -- cgit v1.2.3-65-gdbad