From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: pr@gentoo.org, "Andreas K. Hüttel" <dilfridge@gentoo.org>
Subject: [gentoo-dev] [PATCH 7/9] www-apache/mod_perl: Port to PERL_FEATURES
Date: Fri, 3 May 2024 08:55:34 +0200 [thread overview]
Message-ID: <20240503065536.2268112-7-dilfridge@gentoo.org> (raw)
In-Reply-To: <20240503065536.2268112-1-dilfridge@gentoo.org>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
---
...{mod_perl-2.0.13.ebuild => mod_perl-2.0.13-r1.ebuild} | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
rename www-apache/mod_perl/{mod_perl-2.0.13.ebuild => mod_perl-2.0.13-r1.ebuild} (89%)
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
similarity index 89%
rename from www-apache/mod_perl/mod_perl-2.0.13.ebuild
rename to 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}
--
2.43.2
next prev parent reply other threads:[~2024-05-03 6:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 6:54 [gentoo-dev] news item and patch series: 2024-05-10-perl-features-use-expand.en.txt Andreas K. Huettel
2024-05-03 6:55 ` [gentoo-dev] [PATCH 1/9] dev-lang/perl: Migrate to PERL_FEATURES Andreas K. Hüttel
2024-05-03 6:55 ` [gentoo-dev] [PATCH 2/9] app-editors/padre: Port " Andreas K. Hüttel
2024-05-03 6:55 ` [gentoo-dev] [PATCH 3/9] app-metrics/collectd: " Andreas K. Hüttel
2024-05-03 6:55 ` [gentoo-dev] [PATCH 4/9] media-sound/cantata: " Andreas K. Hüttel
2024-05-03 6:55 ` [gentoo-dev] [PATCH 5/9] net-analyzer/snortalog: " Andreas K. Hüttel
2024-05-03 6:55 ` [gentoo-dev] [PATCH 6/9] virtual/perl-threads: " Andreas K. Hüttel
2024-05-03 6:55 ` Andreas K. Hüttel [this message]
2024-05-03 6:55 ` [gentoo-dev] [PATCH 8/9] perl-module.eclass: Implement dependency on PERL_FEATURES Andreas K. Hüttel
2024-05-03 6:55 ` [gentoo-dev] [PATCH 9/9] profiles: use.mask perl_features_debug Andreas K. Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240503065536.2268112-7-dilfridge@gentoo.org \
--to=dilfridge@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=pr@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox