summaryrefslogtreecommitdiff
blob: e0edadae1bbbbdda584647bbb53345d6e5af3123 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-SizeLimit/Apache-SizeLimit-0.95.ebuild,v 1.5 2011/07/22 13:45:39 jer Exp $

EAPI="3"

MODULE_AUTHOR="PHRED"

inherit perl-module

DESCRIPTION="Graceful exit for large children"

LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86"
IUSE=""

SRC_TEST="do"

# mod_perl < 2.0.5 bundles Apache-SizeLimit
DEPEND="dev-lang/perl
	dev-perl/Linux-Pid
	!<www-apache/mod_perl-2.0.5
	>=www-apache/mod_perl-2.0.5"
RDEPEND="${DEPEND}"

src_prepare() {
	# https://rt.cpan.org/Public/Bug/Display.html?id=66894
	epatch "${FILESDIR}/${P}-Fix_Linux-Smaps_detection.patch"
}