diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-09-27 06:19:28 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-09-27 06:19:57 +1300 |
commit | 49994dea3b74282a9326bc95aee17b13718cf6ba (patch) | |
tree | 6436a45846df1c69167cf694153d3c620fe2976d /dev-perl/Starlet | |
parent | dev-vcs/git: security bump. (diff) | |
download | gentoo-49994dea3b74282a9326bc95aee17b13718cf6ba.tar.gz gentoo-49994dea3b74282a9326bc95aee17b13718cf6ba.tar.bz2 gentoo-49994dea3b74282a9326bc95aee17b13718cf6ba.zip |
dev-perl/Starlet: Fix compile failure without '.' in @INC
Somehow missed in my exessive testing, likely due to having
Module::Install accidentally installed somehow
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/Starlet')
-rw-r--r-- | dev-perl/Starlet/Starlet-0.290.0.ebuild | 7 | ||||
-rw-r--r-- | dev-perl/Starlet/Starlet-0.310.0.ebuild | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/dev-perl/Starlet/Starlet-0.290.0.ebuild b/dev-perl/Starlet/Starlet-0.290.0.ebuild index c0fce8f8c9c4..6b73510dbddf 100644 --- a/dev-perl/Starlet/Starlet-0.290.0.ebuild +++ b/dev-perl/Starlet/Starlet-0.290.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -27,3 +27,8 @@ DEPEND="${RDEPEND} >=virtual/perl-Test-Simple-0.880.0 ) " +src_prepare() { + sed -i -e 's/use inc::Module::Install/use lib q[.];\n use inc::Module::Install/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +} diff --git a/dev-perl/Starlet/Starlet-0.310.0.ebuild b/dev-perl/Starlet/Starlet-0.310.0.ebuild index 5ae305f339cd..3739422ddc63 100644 --- a/dev-perl/Starlet/Starlet-0.310.0.ebuild +++ b/dev-perl/Starlet/Starlet-0.310.0.ebuild @@ -27,3 +27,8 @@ DEPEND="${RDEPEND} >=virtual/perl-Test-Simple-0.880.0 ) " +src_prepare() { + sed -i -e 's/use inc::Module::Install/use lib q[.];\n use inc::Module::Install/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +} |