commit:     b30c6342fd147e7b3629241ca168db29f7c5b825
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 17 16:08:53 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 16:14:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b30c6342

media-gfx/enblend: fix configure options called as commands

Closes: https://bugs.gentoo.org/875206
Closes: https://bugs.gentoo.org/875203
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 media-gfx/enblend/enblend-4.2.0_p20161007-r1.ebuild | 6 ++++--
 media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/media-gfx/enblend/enblend-4.2.0_p20161007-r1.ebuild 
b/media-gfx/enblend/enblend-4.2.0_p20161007-r1.ebuild
index 02e047ced7f0..01b00f7ac852 100644
--- a/media-gfx/enblend/enblend-4.2.0_p20161007-r1.ebuild
+++ b/media-gfx/enblend/enblend-4.2.0_p20161007-r1.ebuild
@@ -67,8 +67,10 @@ src_configure() {
                -DENABLE_TCMALLOC=$(usex tcmalloc)
        )
        if use doc; then
-               -DINSTALL_HTML_DOC=ON
-               -DINSTALL_PDF_DOC=ON
+               mycmakeargs+=(
+                       -DINSTALL_HTML_DOC=ON
+                       -DINSTALL_PDF_DOC=ON
+               )
        fi
 
        cmake_src_configure

diff --git a/media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild 
b/media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild
index e9138b6c09a2..18ebf6ae01c7 100644
--- a/media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild
+++ b/media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild
@@ -66,8 +66,10 @@ src_configure() {
                -DENABLE_TCMALLOC=$(usex tcmalloc)
        )
        if use doc; then
-               -DINSTALL_HTML_DOC=ON
-               -DINSTALL_PDF_DOC=ON
+               mycmakeargs+=(
+                       -DINSTALL_HTML_DOC=ON
+                       -DINSTALL_PDF_DOC=ON
+               )
        fi
 
        cmake_src_configure

Reply via email to