summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2017-10-03 15:56:59 -0400
committerIan Stakenvicius <axs@gentoo.org>2017-10-03 16:51:20 -0400
commitadd57df3530ae2bc1cfc7ae3933444b6f9ed3bbe (patch)
treef0d9596d62e7ce9c16c3aeea5c3c777f1d3e1853 /dev-lang
parentdev-lisp/cl-ppcre: Drops old version 1.2.16 (diff)
downloadgentoo-add57df3530ae2bc1cfc7ae3933444b6f9ed3bbe.tar.gz
gentoo-add57df3530ae2bc1cfc7ae3933444b6f9ed3bbe.tar.bz2
gentoo-add57df3530ae2bc1cfc7ae3933444b6f9ed3bbe.zip
dev-lang/spidermonkey: work around bad include directory
Rename the header install directory to mozjs-52 to work around the bad target includedir, until a proper patch to the build system can be identified. Bug: http://bugs.gentoo.org/630506 Package-Manager: Portage-2.3.8, Repoman-2.3.1
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild (renamed from dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild b/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild
index 57d7a6311246..35d95d63acc2 100644
--- a/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild
@@ -130,6 +130,9 @@ src_install() {
cd "${BUILDDIR}" || die
emake DESTDIR="${D}" install
+ #work around bad header installation
+ mv "${ED}"usr/include/mozjs{,-52} || die
+
if ! use minimal; then
if use jit; then
pax-mark m "${ED}"usr/bin/js${SLOT}