summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-25 21:21:09 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-25 21:21:24 +1200
commit0176b707bc7a1d8699c19ebc4eab0c47e7224af5 (patch)
treeff301d55d7515fd6c7b55710ae1e98c22de87bb5
parentsys-auth/elogind: remove old (diff)
downloadgentoo-0176b707bc7a1d8699c19ebc4eab0c47e7224af5.tar.gz
gentoo-0176b707bc7a1d8699c19ebc4eab0c47e7224af5.tar.bz2
gentoo-0176b707bc7a1d8699c19ebc4eab0c47e7224af5.zip
dev-perl/SQL-Translator: Fix for '.' in @INC re bug #615708
Generic Module::Install + 5.26 fix Bug: https://bugs.gentoo.org/615708 Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--dev-perl/SQL-Translator/SQL-Translator-0.110.210.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/SQL-Translator/SQL-Translator-0.110.210.ebuild b/dev-perl/SQL-Translator/SQL-Translator-0.110.210.ebuild
index 3a54882dc589..421617b611ef 100644
--- a/dev-perl/SQL-Translator/SQL-Translator-0.110.210.ebuild
+++ b/dev-perl/SQL-Translator/SQL-Translator-0.110.210.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
@@ -39,3 +39,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
+}