mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
Generic Module::Install fix for Perl 5.26 Bug: https://bugs.gentoo.org/615118 Package-Manager: Portage-2.3.6, Repoman-2.3.2
23 lines
506 B
Bash
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
|
|
}
|