summaryrefslogtreecommitdiff
blob: 1be8e564e4bcd5b44db95f559d35f3fb5e1fce54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=MLEHMANN
DIST_VERSION=6.511
inherit perl-module

DESCRIPTION="The only real threads in perl"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="vanilla"

RDEPEND="
	>=dev-perl/AnyEvent-5
	>=dev-perl/Guard-0.500.0
	virtual/perl-Scalar-List-Utils
	>=virtual/perl-Storable-2.150.0
	dev-perl/common-sense
"
DEPEND="${RDEPEND}
	dev-perl/Canary-Stability
	>=virtual/perl-ExtUtils-MakeMaker-6.520.0
"

src_prepare() {
	if ! use vanilla; then
		elog "This release includes 3rd party patches for Perl 5.24 and 5.26 compatibility."
		elog "Please do not contact upstream directly regarding problems arising from this."
		eapply "${FILESDIR}/${PV}-argarray.patch"
		eapply "${FILESDIR}/${PV}-padoffset.patch"
	fi
	perl-module_src_prepare
}