commit: 468340a738fa0179000ef01dbd002194caacbe6f
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 22:42:44 2017 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 22:42:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468340a7
dev-perl/LaTeX-Driver: Add build fix for Perl 5.26, bug 617040
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
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 4cc4c610109..f422f50af56 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
+}