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 BAA96139694 for ; Mon, 26 Jun 2017 19:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C44421C06C; Mon, 26 Jun 2017 19:45:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 ED3F321C06C for ; Mon, 26 Jun 2017 19:45:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0772934165C for ; Mon, 26 Jun 2017 19:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6EE5D747C for ; Mon, 26 Jun 2017 19:45:17 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1498506302.e1cf1785f55b7dcf6811e8418d4c76fe3a6f9b8b.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/LWP-Online/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/LWP-Online/LWP-Online-1.80.0-r2.ebuild X-VCS-Directories: dev-perl/LWP-Online/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: e1cf1785f55b7dcf6811e8418d4c76fe3a6f9b8b X-VCS-Branch: master Date: Mon, 26 Jun 2017 19:45:17 +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: 7161e246-adec-4b1b-b202-48590312d807 X-Archives-Hash: 5ae7beb8cbfa36a8c9a4b868ba7ce944 commit: e1cf1785f55b7dcf6811e8418d4c76fe3a6f9b8b Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon Jun 26 19:44:52 2017 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Mon Jun 26 19:45:02 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1cf1785 dev-perl/LWP-Online: Add build fix for Perl 5.26, bug 617054 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-perl/LWP-Online/LWP-Online-1.80.0-r2.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-perl/LWP-Online/LWP-Online-1.80.0-r2.ebuild b/dev-perl/LWP-Online/LWP-Online-1.80.0-r2.ebuild index 20b94e3d45c..ce475ee87dc 100644 --- a/dev-perl/LWP-Online/LWP-Online-1.80.0-r2.ebuild +++ b/dev-perl/LWP-Online/LWP-Online-1.80.0-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 + DIST_AUTHOR=ADAMK DIST_VERSION=1.08 inherit perl-module @@ -11,8 +12,10 @@ DESCRIPTION="Does your process have access to the web" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" + # https://rt.cpan.org/Public/Bug/Display.html?id=112728 PATCHES=("${FILESDIR}/${DIST_VERSION}-no-network.patch") + # LWP::Simple -> libwww-perl RDEPEND=" >=dev-perl/libwww-perl-5.805.0 @@ -22,3 +25,9 @@ DEPEND="${RDEPEND} >=virtual/perl-ExtUtils-MakeMaker-6.420.0 test? ( >=virtual/perl-Test-Simple-0.420.0 ) " + +src_prepare() { + sed -i -e 's/use inc::Module::Install::DSL 1\.01;/use lib q[.];\nuse inc::Module::Install::DSL 1.01;/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +}