Files
gentoo/dev-perl/Cache-Simple-TimedExpiry/Cache-Simple-TimedExpiry-0.270.0-r1.ebuild
T
Kent Fredric 28b7167b36 dev-perl/Cache-Simple-TimedExpiry: Fix for '.' in @INC re bug #615118
Generic Module::Install fix for Perl 5.26

Bug: https://bugs.gentoo.org/615118
Package-Manager: Portage-2.3.6, Repoman-2.3.2
2017-06-20 06:26:50 +12:00

23 lines
506 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=JESSE
MODULE_VERSION=0.27
inherit perl-module
DESCRIPTION="A lightweight cache with timed expiration"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
IUSE=""
SRC_TEST="do"
src_prepare() {
sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
perl-module_src_prepare
}