mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-perl/Test-SubCalls: Fix Perl 5.26 dot-in-inc as recommended by upstream. Bug 615696.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
MODULE_AUTHOR=ADAMK
|
||||
MODULE_VERSION=1.09
|
||||
DIST_AUTHOR=ADAMK
|
||||
DIST_VERSION=1.09
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Track the number of times subs are called"
|
||||
@@ -17,10 +17,4 @@ DEPEND=">=dev-perl/Hook-LexWrap-0.20
|
||||
virtual/perl-File-Spec"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/use inc::Module::Install::DSL /use lib q[.]; use inc::Module::Install::DSL /' Makefile.PL ||
|
||||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
PATCHES=( "${FILESDIR}/${P}"-dot.patch )
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
--- a/Makefile.PL 2017-03-31 09:05:12.495038191 -0400
|
||||
+++ b/Makefile.PL 2017-03-31 09:05:22.634214621 -0400
|
||||
@@ -1,3 +1,4 @@
|
||||
+use lib '.';
|
||||
use inc::Module::Install::DSL 0.83;
|
||||
|
||||
all_from lib/Test/SubCalls.pm
|
||||
Reference in New Issue
Block a user