commit: 04140b1f2dfc0c93882c1c23f3755ac5dcb76744
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 3 21:30:55 2017 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jul 3 21:30:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04140b1f
dev-perl/Text-Markdown: Add build fix for Perl 5.26, but 623124
Package-Manager: Portage-2.3.6, Repoman-2.3.2
.../Text-Markdown/Text-Markdown-1.0.31-r1.ebuild | 30 ++++++++++++++--------
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/dev-perl/Text-Markdown/Text-Markdown-1.0.31-r1.ebuild
b/dev-perl/Text-Markdown/Text-Markdown-1.0.31-r1.ebuild
index 9596fb9a063..9ae0ef4f323 100644
--- a/dev-perl/Text-Markdown/Text-Markdown-1.0.31-r1.ebuild
+++ b/dev-perl/Text-Markdown/Text-Markdown-1.0.31-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-MODULE_AUTHOR=BOBTFISH
-MODULE_VERSION=1.000031
+DIST_AUTHOR=BOBTFISH
+DIST_VERSION=1.000031
inherit perl-module
DESCRIPTION="Convert MultiMarkdown syntax to (X)HTML"
@@ -14,15 +14,25 @@ LICENSE="BSD"
KEYWORDS="amd64 ~x86"
IUSE="test"
-RDEPEND="virtual/perl-Digest-MD5
+RDEPEND="
+ virtual/perl-Digest-MD5
virtual/perl-Getopt-Long
- virtual/perl-Text-Balanced"
-
+ virtual/perl-Text-Balanced
+"
DEPEND="${RDEPEND}
- test? ( virtual/perl-Test-Simple
+ test? (
+ virtual/perl-Test-Simple
dev-perl/Text-Diff
dev-perl/List-MoreUtils
dev-perl/Test-Differences
- dev-perl/Test-Exception )"
-SRC_TEST=do
+ dev-perl/Test-Exception
+ )
+"
+
mydoc="Readme.text"
+
+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
+}