diff --git a/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild b/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild index 4cc4c6101093e..f422f50af56b5 100644 --- a/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild +++ b/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild @@ -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 +}