diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-16 04:05:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-16 04:05:53 +0100 |
commit | d7665b9dae37c3b9a1c72157fdf49c101bd6495e (patch) | |
tree | 6346f889dbe3164a49e89d92ec5914494af4b865 /dev-perl/Coro/Coro-6.570.0.ebuild | |
parent | affa75f527bf2512b296482bd14bade15f820d6a (diff) |
gentoo auto-resync : 16:05:2023 - 04:05:52
Diffstat (limited to 'dev-perl/Coro/Coro-6.570.0.ebuild')
-rw-r--r-- | dev-perl/Coro/Coro-6.570.0.ebuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/dev-perl/Coro/Coro-6.570.0.ebuild b/dev-perl/Coro/Coro-6.570.0.ebuild index aa9e751109f4..56269e3a61b3 100644 --- a/dev-perl/Coro/Coro-6.570.0.ebuild +++ b/dev-perl/Coro/Coro-6.570.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ DESCRIPTION="The only real threads in perl" LICENSE="|| ( Artistic GPL-1+ ) LGPL-2.1+ || ( BSD-2 GPL-2+ )" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+ev event" +IUSE="+ev event valgrind" RDEPEND=" >=dev-perl/AnyEvent-7 @@ -23,17 +23,26 @@ RDEPEND=" >=virtual/perl-Storable-2.150.0 dev-perl/common-sense " -BDEPEND="${RDEPEND} +DEPEND=" + valgrind? ( dev-util/valgrind ) +" +BDEPEND=" + ${RDEPEND} dev-perl/Canary-Stability >=virtual/perl-ExtUtils-MakeMaker-6.520.0 " + PATCHES=( "${FILESDIR}/6.514.0-ev-config.patch" ) + src_configure() { local myopts=() use ev && myopts+=("EV") use event && myopts+=( "Event" ) + + export CORO_USE_VALGRIND=$(usex valgrind y n) + GENTOO_OPTS="${myopts[@]}" perl-module_src_configure } src_compile() { |