diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-06-25 21:57:33 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-06-25 21:57:50 +1200 |
commit | dd1bd00c99aff0e4406ba5f868c66f6eb1147099 (patch) | |
tree | b068e88383d06bc66204e7fe34291f68169861d6 /dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30.ebuild | |
parent | dev-libs/liblinear: EAPI 6. (diff) | |
download | gentoo-dd1bd00c99aff0e4406ba5f868c66f6eb1147099.tar.gz gentoo-dd1bd00c99aff0e4406ba5f868c66f6eb1147099.tar.bz2 gentoo-dd1bd00c99aff0e4406ba5f868c66f6eb1147099.zip |
dev-perl/DBIx-Class-InflateColumn-IP: Fix for '.' in @INC re bug #615716
Generic Module::Install fix for Perl 5.26
Bug: https://bugs.gentoo.org/615716
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30.ebuild')
-rw-r--r-- | dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30.ebuild b/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30.ebuild index 97e8e8e66dff..86e6177d9c6e 100644 --- a/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30.ebuild +++ b/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30.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 @@ RDEPEND=" >=dev-perl/DBIx-Class-0.81.70 " DEPEND="${RDEPEND}" + +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 +} |