From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-976468-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B15C41396D1
	for <garchives@archives.gentoo.org>; Tue,  3 Oct 2017 20:51:35 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 05EA32BC005;
	Tue,  3 Oct 2017 20:51:35 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D9A202BC005
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Oct 2017 20:51:34 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D247C341743
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Oct 2017 20:51:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FB599085
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Oct 2017 20:51:32 +0000 (UTC)
From: "Ian Stakenvicius" <axs@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ian Stakenvicius" <axs@gentoo.org>
Message-ID: <1507063880.add57df3530ae2bc1cfc7ae3933444b6f9ed3bbe.axs@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spidermonkey/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003-r1.ebuild dev-lang/spidermonkey/spidermonkey-52.4.0_pre20171003.ebuild
X-VCS-Directories: dev-lang/spidermonkey/
X-VCS-Committer: axs
X-VCS-Committer-Name: Ian Stakenvicius
X-VCS-Revision: add57df3530ae2bc1cfc7ae3933444b6f9ed3bbe
X-VCS-Branch: master
Date: Tue,  3 Oct 2017 20:51:32 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: eaf09020-7e76-44c0-9935-da7d51868df7
X-Archives-Hash: 98918e04da7b32bbef2f74e3a2843061

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}