commit:     0a5d1c0550c87d141318f6613ee672cd241545ce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 14:01:15 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 19:08:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a5d1c05

net-irc/ircii: [QA] Remove invalid USE=lto

USE=lto is only used to append -flto.  Remove it.  Also note that
the build system is broken and ignores the value, so `--without-lto`
also enables LTO.

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

 net-irc/ircii/ircii-20221016.ebuild | 6 +++---
 net-irc/ircii/ircii-20230930.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-irc/ircii/ircii-20221016.ebuild 
b/net-irc/ircii/ircii-20221016.ebuild
index f60f047348fe..36c4fb28d114 100644
--- a/net-irc/ircii/ircii-20221016.ebuild
+++ b/net-irc/ircii/ircii-20221016.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,6 @@ HOMEPAGE="http://eterna.com.au/ircii/";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="lto"
 
 DEPEND="dev-libs/openssl:0=
        sys-libs/ncurses:0=
@@ -29,7 +28,8 @@ S="${WORKDIR}/${PN}"
 
 src_configure() {
        tc-export CC
-       econf $(use_with lto)
+       # --with-lto only appends -flto (so does --without-lto, sigh)
+       econf
 }
 
 src_install() {

diff --git a/net-irc/ircii/ircii-20230930.ebuild 
b/net-irc/ircii/ircii-20230930.ebuild
index eeaa9dded08e..ada997f148c3 100644
--- a/net-irc/ircii/ircii-20230930.ebuild
+++ b/net-irc/ircii/ircii-20230930.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,6 @@ HOMEPAGE="http://eterna.com.au/ircii/";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="lto"
 
 DEPEND="dev-libs/openssl:0=
        sys-libs/ncurses:0=
@@ -29,7 +28,8 @@ S="${WORKDIR}/${PN}"
 
 src_configure() {
        tc-export CC
-       econf $(use_with lto)
+       # --with-lto only appends -flto (so does --without-lto, sigh)
+       econf
 }
 
 src_install() {

Reply via email to