commit:     64d25327b6b2e1986fb31d61b938101f06623eba
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Apr  6 13:22:55 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Apr  6 13:59:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64d25327

boinc.eclass: add --enable-static and --disable-fcgi to default flags

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 eclass/boinc.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/boinc.eclass b/eclass/boinc.eclass
index a90f19dd7..56d972b66 100644
--- a/eclass/boinc.eclass
+++ b/eclass/boinc.eclass
@@ -109,15 +109,15 @@ boinc_require_source() {
 # @DESCRIPTION:
 # Configure BOINC source tree using autotools.
 #
-# If no arguments are given, econf will be called
-# with --enable-pkg-devel flag.
+# If no arguments are given, econf will be called with
+# '--enable-static --enable-pkg-devel --disable-fcgi' flags.
 #
 # This function must be called in global scope.
 boinc_enable_autotools() {
        debug-print-function ${FUNCNAME} "${@}"]
 
        _BOINC_RUN_AUTOTOOLS=1
-       _BOINC_ECONF_ARGS=${@:---enable-pkg-devel}
+       _BOINC_ECONF_ARGS=${@:---enable-static --enable-pkg-devel 
--disable-fcgi}
 }
 
 # @FUNCTION: boinc_override_config
@@ -204,7 +204,7 @@ boinc_src_configure() {
        edo bash ./generate_svn_version.sh
 
        if [[ ${_BOINC_RUN_AUTOTOOLS} ]]; then
-               econf "${_BOINC_ECONF_ARGS[@]}"
+               econf ${_BOINC_ECONF_ARGS}
        else
                tc-export AR CC CPP CXX LD OBJDUMP RANLIB
        fi

Reply via email to