summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-25 10:39:37 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-25 10:39:37 +1200
commit79d096ebfc2db2e0f5215ba25736cce5b8106ec8 (patch)
tree4de98a6b12aa41d9e3c2eab4e9f8cb4f990a28a5 /dev-perl/Class-Adapter
parentdev-perl/CQL-Parser: Fix for '.' in @INC re bug #615502 (diff)
downloadgentoo-79d096ebfc2db2e0f5215ba25736cce5b8106ec8.tar.gz
gentoo-79d096ebfc2db2e0f5215ba25736cce5b8106ec8.tar.bz2
gentoo-79d096ebfc2db2e0f5215ba25736cce5b8106ec8.zip
dev-perl/Class-Adapter: Fix for '.' in @INC re bug #615506
Generic Module::Install::DSL fix for 5.26 Bug: https://bugs.gentoo.org/615506 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Class-Adapter')
-rw-r--r--dev-perl/Class-Adapter/Class-Adapter-1.80.0-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Class-Adapter/Class-Adapter-1.80.0-r1.ebuild b/dev-perl/Class-Adapter/Class-Adapter-1.80.0-r1.ebuild
index 067c1d1f94c5..c7fa7698bf0b 100644
--- a/dev-perl/Class-Adapter/Class-Adapter-1.80.0-r1.ebuild
+++ b/dev-perl/Class-Adapter/Class-Adapter-1.80.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,3 +19,9 @@ DEPEND="${RDEPEND}
test? ( virtual/perl-Test-Simple )"
SRC_TEST=do
+
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install::DSL /use lib q[.];\nuse inc::Module::Install::DSL /' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}