diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-06-15 14:02:01 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-06-15 14:06:24 +1200 |
commit | 609a146b7c162fccc41417f6279e27fd3ef06841 (patch) | |
tree | f5309717a138a1e04cd6e052344a5fc57846248c /dev-perl/Class-Trigger | |
parent | dev-perl/Class-Accessor-Grouped: Fix for '.' in @INC re bug #615104 (diff) | |
download | gentoo-609a146b7c162fccc41417f6279e27fd3ef06841.tar.gz gentoo-609a146b7c162fccc41417f6279e27fd3ef06841.tar.bz2 gentoo-609a146b7c162fccc41417f6279e27fd3ef06841.zip |
dev-perl/Class-Trigger: Fix for '.' in @INC re bug #615086
Module::Install fix
for Perl 5.26
Bug: https://bugs.gentoo.org/615086
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Class-Trigger')
-rw-r--r-- | dev-perl/Class-Trigger/Class-Trigger-0.140.0-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Class-Trigger/Class-Trigger-0.140.0-r1.ebuild b/dev-perl/Class-Trigger/Class-Trigger-0.140.0-r1.ebuild index 00e8e225caa8..d757a76fcfd5 100644 --- a/dev-perl/Class-Trigger/Class-Trigger-0.140.0-r1.ebuild +++ b/dev-perl/Class-Trigger/Class-Trigger-0.140.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -17,3 +17,9 @@ RDEPEND="dev-perl/IO-stringy" DEPEND="${RDEPEND}" 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 +} |