--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_A_EXT=tgz
+DIST_AUTHOR=JPIERCE
+DIST_VERSION=0.39
+inherit perl-module
+
+DESCRIPTION="Select a pager, optionally pipe it output if destination is a TTY"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE="test"
+
+RDEPEND="
+ virtual/perl-File-Spec
+ dev-perl/File-Which
+ virtual/perl-IO
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Exporter
+ virtual/perl-Test-Simple
+ virtual/perl-File-Temp
+ )
+"
+PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" )
DIST IO-Pager-0.35.tgz 17298 SHA256 3aa529089be7a93014cd03ebf469271d6d333eae2d34e3bfd127826a38aa8d45 SHA512 adfb9e7d65941115f3d6376996c3c41682079a02346e1cddda0df2bfa93d46a0deeea42a0109697dd327e19ebf9ed869adc2827f0ea9acf28c69885afa6cd962 WHIRLPOOL 531ee9fc77d95bbe5df7c6ddddd52aed455446cc21ac3fbf419d971d01641bf19859e08560b5e7eb616ef87a528e565fae726d51e750be806900f02704ddbe74
+DIST IO-Pager-0.39.tgz 17552 SHA256 cfd1260e3e6de9aff3a47c51d027296c3d1eaa33d8447066f2ae7908386b544f SHA512 165e6c5e93cdcd463eda0a0f0f713790959a788220e29bc77bb10ff59f8e1083d1dc01fc059f150f8cfb4de1d16eef04813430072ea33d9dc6f4acbd3287ce67 WHIRLPOOL b6e32492c77116609a0c5b586400b499d61bab48062592f5e52b90581385b5b725e5db5edd1849c7c70b780f20911183e619743581ee61d8cf505eb9ee6e02cd
--- /dev/null
+From a8628cb9690900f6bbf44b8cd509ab53d1c16c15 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 26 Oct 2017 11:27:10 +1300
+Subject: Fix tests failing without '.' in @INC
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=121450
+Bug: https://bugs.gentoo.org/616994
+---
+ t/11-redirect-oo.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/11-redirect-oo.pl b/t/11-redirect-oo.pl
+index 385d6d4..9203500 100644
+--- a/t/11-redirect-oo.pl
++++ b/t/11-redirect-oo.pl
+@@ -1,7 +1,7 @@
+ use blib;
+ use IO::Pager;
+
+-our $txt; require 't/08-redirect.pl';
++our $txt; require './t/08-redirect.pl';
+
+ my $FH = new IO::Pager;
+ $FH->print($txt);
+--
+2.14.3
+