Skip to content

Commit

Permalink
dev-perl/ORLite: Fix failing tests without '.' in @inc
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
kentfredric committed Jul 6, 2017
1 parent c6b26dc commit 0226fe3
Show file tree
Hide file tree
Showing 2 changed files with 396 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 0226fe3

Please sign in to comment.