commit:     add57df3530ae2bc1cfc7ae3933444b6f9ed3bbe
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  3 19:56:59 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Oct  3 20:51:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add57df3

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

 ....0_pre20171003.ebuild => spidermonkey-52.4.0_pre20171003-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild 
b/dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild
similarity index 97%
rename from dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild
rename to dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild
index 57d7a631124..35d95d63acc 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}

Reply via email to