dev-perl/LaTeX-Driver: Add build fix for Perl 5.26, bug 617040

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Andreas K. Hüttel
2017-07-01 00:42:44 +02:00
parent cdbe640f47
commit 468340a738

View File

@@ -1,15 +1,14 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
MODULE_AUTHOR=EINHVERFR
MODULE_VERSION=0.200.4
DIST_AUTHOR=EINHVERFR
DIST_VERSION=0.200.4
inherit perl-module
DESCRIPTION="Perl encapsulation of invoking the Latex programs"
LICENSE="|| ( GPL-1+ Artistic )"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd"
IUSE="test"
@@ -32,4 +31,8 @@ DEPEND="${RDEPEND}
)
"
SRC_TEST="do"
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
}