commit:     fe9d90fdbb4a0836fbfff32f596449337b484cd5
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 18 15:12:21 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jul  2 12:49:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe9d90fd

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 <aballier <AT> gentoo.org>

 media-video/ffmpeg/ffmpeg-4.3.ebuild  | 5 +++--
 media-video/ffmpeg/ffmpeg-9999.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/media-video/ffmpeg/ffmpeg-4.3.ebuild 
b/media-video/ffmpeg/ffmpeg-4.3.ebuild
index 9c9b6d816ba..c0ff83aacf2 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 1492176f8a9..ab35ad930ee 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
 

Reply via email to