1 |
commit: add57df3530ae2bc1cfc7ae3933444b6f9ed3bbe |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 3 19:56:59 2017 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 3 20:51:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add57df3 |
7 |
|
8 |
dev-lang/spidermonkey: work around bad include directory |
9 |
|
10 |
Rename the header install directory to mozjs-52 to work around |
11 |
the bad target includedir, until a proper patch to the build system |
12 |
can be identified. |
13 |
|
14 |
Bug: http://bugs.gentoo.org/630506 |
15 |
|
16 |
Package-Manager: Portage-2.3.8, Repoman-2.3.1 |
17 |
|
18 |
....0_pre20171003.ebuild => spidermonkey-52.4.0_pre20171003-r1.ebuild} | 3 +++ |
19 |
1 file changed, 3 insertions(+) |
20 |
|
21 |
diff --git a/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild b/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild |
22 |
similarity index 97% |
23 |
rename from dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild |
24 |
rename to dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild |
25 |
index 57d7a631124..35d95d63acc 100644 |
26 |
--- a/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild |
27 |
+++ b/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild |
28 |
@@ -130,6 +130,9 @@ src_install() { |
29 |
cd "${BUILDDIR}" || die |
30 |
emake DESTDIR="${D}" install |
31 |
|
32 |
+ #work around bad header installation |
33 |
+ mv "${ED}"usr/include/mozjs{,-52} || die |
34 |
+ |
35 |
if ! use minimal; then |
36 |
if use jit; then |
37 |
pax-mark m "${ED}"usr/bin/js${SLOT} |