Skip to content

Commit

Permalink
dev-perl/Text-Markdown: Add build fix for Perl 5.26, but 623124
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
akhuettel committed Jul 3, 2017
1 parent a7545f9 commit 04140b1
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions dev-perl/Text-Markdown/Text-Markdown-1.0.31-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit 04140b1

Please sign in to comment.