dev-lang/spidermonkey: work around bad include directory
authorIan Stakenvicius <axs@gentoo.org>
Tue, 3 Oct 2017 19:56:59 +0000 (15:56 -0400)
committerIan Stakenvicius <axs@gentoo.org>
Tue, 3 Oct 2017 20:51:20 +0000 (16:51 -0400)
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

dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild [moved from dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild with 97% similarity]

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 57d7a63112461ce6048be8ddd87126715400daa7..35d95d63acc21e9a752b13682884a15a83ef4a19 100644 (file)
@@ -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}