summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-07-07 11:33:46 +1200
committerKent Fredric <kentnl@gentoo.org>2017-07-07 11:37:00 +1200
commit0226fe3bebacd54f9a6d03bdb0caa9c92b6c63fb (patch)
tree2e08a98e7605b9e115532f11d7b1333f859b7c2f /dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
parentdev-perl/Unicode-LineBreak: Copy-forward ~alpha keywords (diff)
downloadgentoo-0226fe3bebacd54f9a6d03bdb0caa9c92b6c63fb.tar.gz
gentoo-0226fe3bebacd54f9a6d03bdb0caa9c92b6c63fb.tar.bz2
gentoo-0226fe3bebacd54f9a6d03bdb0caa9c92b6c63fb.zip
dev-perl/ORLite: Fix failing tests without '.' in @INC
- Remove parallelism as the tests all use a shared database file, which causes race conditions - Fix "." in @INC in tests exposed by Makefile.PL passing on 5.26 - Move Makefile.PL fix to patch Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/ORLite/ORLite-1.980.0-r1.ebuild')
-rw-r--r--dev-perl/ORLite/ORLite-1.980.0-r1.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild b/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
index aa3c29871684..f383462f6fa9 100644
--- a/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
+++ b/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
@@ -30,9 +30,5 @@ DEPEND="
RDEPEND="
${COMMON_DEPEND}
"
-
-src_prepare() {
- sed -i -e 's/use inc::Module::Install::DSL/use lib q[.];\nuse inc::Module::Install::DSL/' Makefile.PL ||
- die "Can't patch Makefile.PL for 5.26 dot-in-inc"
- perl-module_src_prepare
-}
+PATCHES=( "${FILESDIR}/${PN}-1.98-dot-in-inc.patch" )
+DIST_TEST="do" # Parallel tests broken