summaryrefslogtreecommitdiff
blob: bc8a3c71580f81c18054e4de917bbf616ea23276 (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
37
38
39
40
41
42
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=RYBSKEJ
DIST_VERSION=0.36
inherit perl-module

DESCRIPTION="Emulate threads with fork"

SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-perl/Acme-Damn
	virtual/perl-Attribute-Handlers
	dev-perl/Devel-Symdump
	virtual/perl-File-Spec
	>=virtual/perl-IO-1.180.0
	>=dev-perl/List-MoreUtils-0.150.0
	>=virtual/perl-Scalar-List-Utils-1.110.0
	virtual/perl-Storable
	>=dev-perl/Sys-SigAction-0.110.0
	virtual/perl-Time-HiRes
	virtual/perl-if
"
BDEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? ( virtual/perl-Test-Simple )
"
PERL_RM_FILES=(
	t/forks99.t
)
src_compile() {
	mymake=(
		"OPTIMIZE=${CFLAGS}"
	)
	perl-module_src_compile
}