Now the configure phase works. Unfortunately the written Makefile still
calls Perl, requiring modules in .
Bug: https://bugs.gentoo.org/630474
Package-Manager: Portage-2.3.10, Repoman-2.3.3
--- /dev/null
+diff -ruN xmltv-0.5.68.orig/Makefile.PL xmltv-0.5.68/Makefile.PL
+--- xmltv-0.5.68.orig/Makefile.PL 2016-06-02 07:05:01.000000000 +0200
++++ xmltv-0.5.68/Makefile.PL 2017-09-23 12:20:18.128841958 +0200
+@@ -6,6 +6,9 @@
+ use File::Basename ();
+ use File::Find;
+
++# Needed later for Perl 5.26
++use lib q[.];
++
+ # Don't use ':config pass_through' because that requires Getopt::Long
+ # 2.24 or later, and we don't have a clean way to require that.
+ #
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-e "/^@docs/s:doc/COPYING ::" \
Makefile.PL || die
+ epatch "${FILESDIR}/${P}-perl526-1.patch"
+
epatch_user
}