public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Date-Extract/
Date: Sun, 25 Jun 2017 08:16:51 +0000 (UTC)	[thread overview]
Message-ID: <1498378552.7eb24799e3139908524ca27b37b671f876dcc078.kentnl@gentoo> (raw)

commit:     7eb24799e3139908524ca27b37b671f876dcc078
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 25 08:14:54 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sun Jun 25 08:15:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb24799

dev-perl/Date-Extract: Fix for '.' in @INC re bug #615626

Generic Module::Install fix

Bug: https://bugs.gentoo.org/615626
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild | 8 +++++++-
 dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild | 6 ++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild b/dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild
index 6c7e10ed17f..c66c875868d 100644
--- a/dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild
+++ b/dev-perl/Date-Extract/Date-Extract-0.40.0.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
@@ -25,3 +25,9 @@ DEPEND="${RDEPEND}
 "
 
 SRC_TEST="do"
+
+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
+}

diff --git a/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild b/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild
index f7d09ea20a0..693d51225f8 100644
--- a/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild
+++ b/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild
@@ -27,3 +27,9 @@ DEPEND="${RDEPEND}
 		virtual/perl-Test-Simple
 	)
 "
+
+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
+}


             reply	other threads:[~2017-06-25  8:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-25  8:16 Kent Fredric [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-21  7:35 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Date-Extract/ Sam James
2021-10-18 19:43 Andreas K. Hüttel
2018-07-29  5:48 Kent Fredric
2018-06-07 10:13 Agostino Sarubbo
2017-10-09 21:22 Kent Fredric
2016-11-11  3:46 Kent Fredric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1498378552.7eb24799e3139908524ca27b37b671f876dcc078.kentnl@gentoo \
    --to=kentnl@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox