dev-perl/JavaScript-SpiderMonkey: Fix '.' in @INC tests bug #617006

- Patch tests
- Rework mozjs patch to apply cleanly against 0.21

Closes: https://bugs.gentoo.org/617006
Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
Kent Fredric
2017-10-26 19:03:14 +13:00
parent a4b029e5ee
commit 200653a644
3 changed files with 231 additions and 42 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,9 +18,9 @@ RDEPEND="dev-perl/Log-Log4perl
DEPEND="${RDEPEND}
dev-perl/ExtUtils-PkgConfig"
src_prepare() {
epatch "${FILESDIR}"/mozjs185.patch
perl-module_src_prepare
}
PATCHES=(
"${FILESDIR}/mozjs185.patch"
"${FILESDIR}/${P}-no-dot-inc.patch"
)
SRC_TEST=do