commit:     53da52928f1cc146eda7d6a08b4d660cd49a9a41
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 15:29:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 15:35:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53da5292

net-irc/weechat: use PERL_FEATURES

Note that I've put cmake nearly-last for inherit because we don't want
to pick up random phases from perl-module.eclass and unfortunately,
GENTOO_DEPEND_ON_PERL=no doesn't stop exporting phases.

Bug: https://bugs.gentoo.org/618592
Bug: https://bugs.gentoo.org/686950
Bug: https://bugs.gentoo.org/963096
Closes: https://bugs.gentoo.org/940681
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/weechat/{weechat-9999.ebuild => weechat-4.5.2-r1.ebuild} | 6 ++++--
 net-irc/weechat/weechat-9999.ebuild                              | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-irc/weechat/weechat-9999.ebuild 
b/net-irc/weechat/weechat-4.5.2-r1.ebuild
similarity index 96%
copy from net-irc/weechat/weechat-9999.ebuild
copy to net-irc/weechat/weechat-4.5.2-r1.ebuild
index a7b7dbf60c91..f8fdd2969155 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-4.5.2-r1.ebuild
@@ -6,8 +6,9 @@ EAPI=8
 GUILE_COMPAT=( 2-2 3-0 )
 LUA_COMPAT=( lua5-{1..4} )
 PYTHON_COMPAT=( python3_{10..13} )
+GENTOO_DEPEND_ON_PERL=no
 
-inherit cmake guile-single lua-single python-single-r1 xdg
+inherit guile-single lua-single perl-module python-single-r1 cmake xdg
 
 if [[ ${PV} == "9999" ]] ; then
        inherit git-r3
@@ -31,7 +32,7 @@ NETWORKS="+irc"
 PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts 
+spell +trigger +typing +xfer"
 # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
 # dev-lang/php eclass support is lacking, php plugins don't work. bug #705702
-SCRIPT_LANGS="guile lua +perl +python ruby tcl"
+SCRIPT_LANGS="guile lua +perl +python ruby tcl ${GENTOO_PERL_USESTRING}"
 LANGS=" cs de es fr hu it ja pl pt pt_BR ru sr tr"
 IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} 
${PLUGINS} ${INTERFACES} ${NETWORKS}"
 
@@ -55,6 +56,7 @@ RDEPEND="
        lua? ( ${LUA_DEPS} )
        nls? ( virtual/libintl )
        perl? (
+               ${GENTOO_PERL_DEPSTRING}
                dev-lang/perl:=
                virtual/libcrypt:=
        )

diff --git a/net-irc/weechat/weechat-9999.ebuild 
b/net-irc/weechat/weechat-9999.ebuild
index a7b7dbf60c91..f8fdd2969155 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -6,8 +6,9 @@ EAPI=8
 GUILE_COMPAT=( 2-2 3-0 )
 LUA_COMPAT=( lua5-{1..4} )
 PYTHON_COMPAT=( python3_{10..13} )
+GENTOO_DEPEND_ON_PERL=no
 
-inherit cmake guile-single lua-single python-single-r1 xdg
+inherit guile-single lua-single perl-module python-single-r1 cmake xdg
 
 if [[ ${PV} == "9999" ]] ; then
        inherit git-r3
@@ -31,7 +32,7 @@ NETWORKS="+irc"
 PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts 
+spell +trigger +typing +xfer"
 # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
 # dev-lang/php eclass support is lacking, php plugins don't work. bug #705702
-SCRIPT_LANGS="guile lua +perl +python ruby tcl"
+SCRIPT_LANGS="guile lua +perl +python ruby tcl ${GENTOO_PERL_USESTRING}"
 LANGS=" cs de es fr hu it ja pl pt pt_BR ru sr tr"
 IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} 
${PLUGINS} ${INTERFACES} ${NETWORKS}"
 
@@ -55,6 +56,7 @@ RDEPEND="
        lua? ( ${LUA_DEPS} )
        nls? ( virtual/libintl )
        perl? (
+               ${GENTOO_PERL_DEPSTRING}
                dev-lang/perl:=
                virtual/libcrypt:=
        )

Reply via email to