commit:     89b4792e9819868f2089d3d7b47fa30b0d0875b0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 13:50:46 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 19:08:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b4792e

net-analyzer/icinga2: [QA] Remove invalid USE=lto

The USE=lto flag is only used to append -flto.  Remove it.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-analyzer/icinga2/icinga2-2.13.8.ebuild | 5 +++--
 net-analyzer/icinga2/icinga2-2.13.9.ebuild | 5 +++--
 net-analyzer/icinga2/icinga2-2.14.0.ebuild | 5 +++--
 net-analyzer/icinga2/icinga2-2.14.1.ebuild | 5 +++--
 net-analyzer/icinga2/icinga2-9999.ebuild   | 5 +++--
 5 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/net-analyzer/icinga2/icinga2-2.13.8.ebuild 
b/net-analyzer/icinga2/icinga2-2.13.8.ebuild
index 2c8028636725..1ce211b79dc7 100644
--- a/net-analyzer/icinga2/icinga2-2.13.8.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.13.8.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://icinga.com/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="console jumbo-build lto mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
+IUSE="console jumbo-build mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
 
 # Add accounts to DEPEND because of fowners in src_install
 DEPEND="
@@ -60,7 +60,8 @@ src_configure() {
                -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON
                -DUSE_SYSTEMD=$(usex systemd)
                -DLOGROTATE_HAS_SU=ON
-               -DICINGA2_LTO_BUILD=$(usex lto)
+               # only appends -flto
+               -DICINGA2_LTO_BUILD=OFF
        )
        # default to off if minimal, allow the flags to be set otherwise
        if use minimal; then

diff --git a/net-analyzer/icinga2/icinga2-2.13.9.ebuild 
b/net-analyzer/icinga2/icinga2-2.13.9.ebuild
index 82e4d4c65992..ff31fb2aa214 100644
--- a/net-analyzer/icinga2/icinga2-2.13.9.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.13.9.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://icinga.com/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="console jumbo-build lto mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
+IUSE="console jumbo-build mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
 
 # Add accounts to DEPEND because of fowners in src_install
 DEPEND="
@@ -60,7 +60,8 @@ src_configure() {
                -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON
                -DUSE_SYSTEMD=$(usex systemd)
                -DLOGROTATE_HAS_SU=ON
-               -DICINGA2_LTO_BUILD=$(usex lto)
+               # only appends -flto
+               -DICINGA2_LTO_BUILD=OFF
        )
        # default to off if minimal, allow the flags to be set otherwise
        if use minimal; then

diff --git a/net-analyzer/icinga2/icinga2-2.14.0.ebuild 
b/net-analyzer/icinga2/icinga2-2.14.0.ebuild
index 2c8028636725..1ce211b79dc7 100644
--- a/net-analyzer/icinga2/icinga2-2.14.0.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.14.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://icinga.com/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="console jumbo-build lto mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
+IUSE="console jumbo-build mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
 
 # Add accounts to DEPEND because of fowners in src_install
 DEPEND="
@@ -60,7 +60,8 @@ src_configure() {
                -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON
                -DUSE_SYSTEMD=$(usex systemd)
                -DLOGROTATE_HAS_SU=ON
-               -DICINGA2_LTO_BUILD=$(usex lto)
+               # only appends -flto
+               -DICINGA2_LTO_BUILD=OFF
        )
        # default to off if minimal, allow the flags to be set otherwise
        if use minimal; then

diff --git a/net-analyzer/icinga2/icinga2-2.14.1.ebuild 
b/net-analyzer/icinga2/icinga2-2.14.1.ebuild
index 82e4d4c65992..ff31fb2aa214 100644
--- a/net-analyzer/icinga2/icinga2-2.14.1.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.14.1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://icinga.com/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="console jumbo-build lto mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
+IUSE="console jumbo-build mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
 
 # Add accounts to DEPEND because of fowners in src_install
 DEPEND="
@@ -60,7 +60,8 @@ src_configure() {
                -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON
                -DUSE_SYSTEMD=$(usex systemd)
                -DLOGROTATE_HAS_SU=ON
-               -DICINGA2_LTO_BUILD=$(usex lto)
+               # only appends -flto
+               -DICINGA2_LTO_BUILD=OFF
        )
        # default to off if minimal, allow the flags to be set otherwise
        if use minimal; then

diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild 
b/net-analyzer/icinga2/icinga2-9999.ebuild
index 93def667f4f3..f2525a95a10b 100644
--- a/net-analyzer/icinga2/icinga2-9999.ebuild
+++ b/net-analyzer/icinga2/icinga2-9999.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://icinga.com/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="console jumbo-build lto mail mariadb minimal +mysql +plugins postgres 
systemd"
+IUSE="console jumbo-build mail mariadb minimal +mysql +plugins postgres 
systemd"
 
 # Add accounts to DEPEND because of fowners in src_install
 DEPEND="
@@ -60,7 +60,8 @@ src_configure() {
                -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON
                -DUSE_SYSTEMD=$(usex systemd)
                -DLOGROTATE_HAS_SU=ON
-               -DICINGA2_LTO_BUILD=$(usex lto)
+               # only appends -flto
+               -DICINGA2_LTO_BUILD=OFF
        )
        # default to off if minimal, allow the flags to be set otherwise
        if use minimal; then

Reply via email to