From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 288C7139694 for ; Thu, 15 Jun 2017 02:06:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 490B221C0B2; Thu, 15 Jun 2017 02:06:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28B7021C0B2 for ; Thu, 15 Jun 2017 02:06:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38AE334181F for ; Thu, 15 Jun 2017 02:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A06907484 for ; Thu, 15 Jun 2017 02:06:32 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1497492381.94051542091faefa487ad2023fbd22357773b550.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/App-CLI/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/App-CLI/App-CLI-0.313.0-r1.ebuild X-VCS-Directories: dev-perl/App-CLI/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 94051542091faefa487ad2023fbd22357773b550 X-VCS-Branch: master Date: Thu, 15 Jun 2017 02:06:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 22fd7a7b-2a4c-4952-9340-dbcb3efcef7d X-Archives-Hash: dc4822bae94de3cfb5a9effa11a0865e commit: 94051542091faefa487ad2023fbd22357773b550 Author: Kent Fredric gentoo org> AuthorDate: Thu Jun 15 01:56:43 2017 +0000 Commit: Kent Fredric gentoo org> CommitDate: Thu Jun 15 02:06:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94051542 dev-perl/App-CLI: Fix for '.' in @INC re bug #614798 Generic Module::Install fix for Perl 5.26 Bug: https://bugs.gentoo.org/614798 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-perl/App-CLI/App-CLI-0.313.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-perl/App-CLI/App-CLI-0.313.0-r1.ebuild b/dev-perl/App-CLI/App-CLI-0.313.0-r1.ebuild index 8aa47839378..5bcbf61f5af 100644 --- a/dev-perl/App-CLI/App-CLI-0.313.0-r1.ebuild +++ b/dev-perl/App-CLI/App-CLI-0.313.0-r1.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 @@ -19,3 +19,9 @@ RDEPEND=">=virtual/perl-Getopt-Long-2.35 DEPEND="${RDEPEND}" SRC_TEST="do" + +src_prepare() { + sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +}