diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-03 23:30:55 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-03 23:30:55 +0200 |
commit | 04140b1f2dfc0c93882c1c23f3755ac5dcb76744 (patch) | |
tree | 4175a35fe25ba75d10d182864c009b42d7d44111 /dev-perl/Text-Markdown | |
parent | dev-perl/Test-Inline: Add build fix for Perl 5.26, bug 623122 (diff) | |
download | gentoo-04140b1f2dfc0c93882c1c23f3755ac5dcb76744.tar.gz gentoo-04140b1f2dfc0c93882c1c23f3755ac5dcb76744.tar.bz2 gentoo-04140b1f2dfc0c93882c1c23f3755ac5dcb76744.zip |
dev-perl/Text-Markdown: Add build fix for Perl 5.26, but 623124
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Text-Markdown')
-rw-r--r-- | dev-perl/Text-Markdown/Text-Markdown-1.0.31-r1.ebuild | 30 |
1 files 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 9596fb9a063e..9ae0ef4f3235 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 +} |