commit: 4b1d4f9eb5de2a46584b94c611127b968aa58750 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Sun Jun 25 09:37:32 2017 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Sun Jun 25 09:37:32 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b1d4f9e
dev-perl/DBICx-TestDatabase: Fix for '.' in @INC re bug #615712 Generic Module::Install + 5.26 fix Bug: https://bugs.gentoo.org/615712 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.40.0.ebuild | 8 +++++++- dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.40.0.ebuild b/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.40.0.ebuild index f3433e222ef..fde967d2695 100644 --- a/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.40.0.ebuild +++ b/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.40.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=5 @@ -26,3 +26,9 @@ DEPEND="${RDEPEND} " SRC_TEST="do" + +src_prepare() { + sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse 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/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0.ebuild b/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0.ebuild index cf49bbea025..1e043da5e0f 100644 --- a/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0.ebuild +++ b/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.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 @@ -25,3 +25,9 @@ DEPEND="${RDEPEND} ) " PERL_RM_FILES=("MYMETA.json" "MYMETA.yml") # https://rt.cpan.org/Ticket/Display.html?id=108141 + +src_prepare() { + sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +}
