commit:     c80b6e5a949a214a1474afbb2ae4ecd49527502b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 15:23:18 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 15:35:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c80b6e5a

net-irc/irssi: use PERL_FEATURES

The ebuild uses GENTOO_DEPEND_ON_PERL=no because Perl is optional
in irssi, so we have to do it "manually", but it's not so bad as we
can just use the variables the eclass provides.

Bug: https://bugs.gentoo.org/144256
Bug: https://bugs.gentoo.org/616176
Bug: https://bugs.gentoo.org/674596
Bug: https://bugs.gentoo.org/875101
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/irssi/{irssi-9999.ebuild => irssi-1.4.5-r1.ebuild} | 9 ++++++---
 net-irc/irssi/irssi-9999.ebuild                            | 9 ++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/net-irc/irssi/irssi-9999.ebuild 
b/net-irc/irssi/irssi-1.4.5-r1.ebuild
similarity index 90%
copy from net-irc/irssi/irssi-9999.ebuild
copy to net-irc/irssi/irssi-1.4.5-r1.ebuild
index 93f50f3353b0..68e8e27dc234 100644
--- a/net-irc/irssi/irssi-9999.ebuild
+++ b/net-irc/irssi/irssi-1.4.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="otr +perl selinux +proxy"
+IUSE="otr +perl selinux +proxy ${GENTOO_PERL_USESTRING}"
 
 RDEPEND="
        >=dev-libs/glib-2.6.0
@@ -32,7 +32,10 @@ RDEPEND="
                >=dev-libs/libgcrypt-1.2.0:=
                >=net-libs/libotr-4.1.0
        )
-       perl? ( dev-lang/perl:= )
+       perl? (
+               ${GENTOO_PERL_DEPSTRING}
+               dev-lang/perl:=
+       )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="dev-lang/perl

diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-9999.ebuild
index 93f50f3353b0..68e8e27dc234 100644
--- a/net-irc/irssi/irssi-9999.ebuild
+++ b/net-irc/irssi/irssi-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="otr +perl selinux +proxy"
+IUSE="otr +perl selinux +proxy ${GENTOO_PERL_USESTRING}"
 
 RDEPEND="
        >=dev-libs/glib-2.6.0
@@ -32,7 +32,10 @@ RDEPEND="
                >=dev-libs/libgcrypt-1.2.0:=
                >=net-libs/libotr-4.1.0
        )
-       perl? ( dev-lang/perl:= )
+       perl? (
+               ${GENTOO_PERL_DEPSTRING}
+               dev-lang/perl:=
+       )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="dev-lang/perl

Reply via email to