diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-06-14 20:34:24 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-06-14 20:34:40 +1200 |
commit | 467523f008cad713d9547da2424187af4269cc53 (patch) | |
tree | 1c985dc32e972414367421590ef2fdef0e35553e /dev-perl/Array-Window/Array-Window-1.20.0-r1.ebuild | |
parent | dev-libs/beignet-9999: relaxed clang and LLVM slot requirements (diff) | |
download | gentoo-467523f008cad713d9547da2424187af4269cc53.tar.gz gentoo-467523f008cad713d9547da2424187af4269cc53.tar.bz2 gentoo-467523f008cad713d9547da2424187af4269cc53.zip |
dev-perl/Array-Window: Fix for '.' in @INC re bug #614652
Generic Module::Install fix for Perl 5.26
Bug: https://bugs.gentoo.org/614652
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Array-Window/Array-Window-1.20.0-r1.ebuild')
-rw-r--r-- | dev-perl/Array-Window/Array-Window-1.20.0-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Array-Window/Array-Window-1.20.0-r1.ebuild b/dev-perl/Array-Window/Array-Window-1.20.0-r1.ebuild index f241845448e5..4a2476b5ac52 100644 --- a/dev-perl/Array-Window/Array-Window-1.20.0-r1.ebuild +++ b/dev-perl/Array-Window/Array-Window-1.20.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 @@ -18,3 +18,9 @@ DEPEND="${RDEPEND} test? ( virtual/perl-Test-Simple )" 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 +} |