diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-04-21 23:10:00 +1100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-05-07 09:55:29 +0200 |
commit | 47bd83af8cd0b0bdb60995e40417f3d5660e1c7d (patch) | |
tree | 8465aba83a9dfef0a9e51b230f136408e9de9ee3 /www-apache | |
parent | virtual/perl-threads: Port to PERL_FEATURES (diff) | |
download | gentoo-47bd83af8cd0b0bdb60995e40417f3d5660e1c7d.tar.gz gentoo-47bd83af8cd0b0bdb60995e40417f3d5660e1c7d.tar.bz2 gentoo-47bd83af8cd0b0bdb60995e40417f3d5660e1c7d.zip |
www-apache/mod_perl: Port to PERL_FEATURES
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_perl/mod_perl-2.0.13-r1.ebuild (renamed from www-apache/mod_perl/mod_perl-2.0.13.ebuild) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/www-apache/mod_perl/mod_perl-2.0.13.ebuild b/www-apache/mod_perl/mod_perl-2.0.13-r1.ebuild index d2b6cb753c19..a0d8c495793b 100644 --- a/www-apache/mod_perl/mod_perl-2.0.13.ebuild +++ b/www-apache/mod_perl/mod_perl-2.0.13-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://apache/perl/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="1" KEYWORDS="amd64 ~arm ppc ppc64 ~riscv x86" -IUSE="debug ithreads test" +IUSE="debug perl_features_ithreads test" RESTRICT="!test? ( test )" # Apache::Reload, Apache::SizeLimit, and Apache::Test are force-unbundled. @@ -25,11 +25,12 @@ RESTRICT="!test? ( test )" # default one, which will likely need threading. RDEPEND=" - dev-lang/perl[ithreads=] + perl_features_ithreads? ( || ( >=dev-lang/perl-5.38.2-r3[perl_features_ithreads] <dev-lang/perl-5.38.2-r3[ithreads] ) ) + !perl_features_ithreads? ( || ( >=dev-lang/perl-5.38.2-r3[-perl_features_ithreads] <dev-lang/perl-5.38.2-r3[-ithreads] ) ) >=dev-perl/Apache-Test-1.420.0 >=www-servers/apache-2.0.47 >=dev-libs/apr-util-1.4 - !ithreads? ( www-servers/apache[-apache2_mpms_event,-apache2_mpms_worker,apache2_mpms_prefork] ) + !perl_features_ithreads? ( www-servers/apache[-apache2_mpms_event,-apache2_mpms_worker,apache2_mpms_prefork] ) " DEPEND="${RDEPEND}" BDEPEND=" @@ -75,7 +76,7 @@ src_configure() { _init_apache2_late local debug=$(usex debug 1 0) - local nothreads=$(usex ithreads 0 1) + local nothreads=$(usex perl_features_ithreads 0 1) myconf=( MP_USE_DSO=1 MP_APXS=${APXS} |