From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-325429-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Pz1jk-0002mp-D3
	for garchives@archives.gentoo.org; Mon, 14 Mar 2011 06:58:41 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4BC11E050E;
	Mon, 14 Mar 2011 06:58:33 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 0B2D7E050E
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2011 06:58:32 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C22E71B4142
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2011 06:58:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id B9D1C8006A
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2011 06:58:29 +0000 (UTC)
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" <nirbheek@gentoo.org>
Message-ID: <8ab0f82b73c3f0b5cef97ce63ff466d19ee736c6.nirbheek@gentoo>
Subject: [gentoo-commits] proj/mozilla:master commit in: eclass/
X-VCS-Repository: proj/mozilla
X-VCS-Files: eclass/mozconfig-3.eclass eclass/mozcoreconf-2.eclass
X-VCS-Directories: eclass/
X-VCS-Committer: nirbheek
X-VCS-Committer-Name: Nirbheek Chauhan
X-VCS-Revision: 8ab0f82b73c3f0b5cef97ce63ff466d19ee736c6
Date: Mon, 14 Mar 2011 06:58:29 +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
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 8a107356d9add5251b1ff05e5c4666ef

commit:     8ab0f82b73c3f0b5cef97ce63ff466d19ee736c6
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 06:39:15 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 06:39:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mozilla.git;a=
=3Dcommit;h=3D8ab0f82b

eclass: enable-shared-js for xulrunner, update timestamps

---
 eclass/mozconfig-3.eclass   |    6 +++++-
 eclass/mozcoreconf-2.eclass |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-3.eclass b/eclass/mozconfig-3.eclass
index 8fd4c1b..cbba1c5 100644
--- a/eclass/mozconfig-3.eclass
+++ b/eclass/mozconfig-3.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 #
@@ -59,6 +59,10 @@ mozconfig_config() {
 	fi
 	mozconfig_use_enable wifi necko-wifi
=20
+	if ${XUL}; then
+		mozconfig_annotate 'mozjs' --enable-shared-js
+	fi
+
 	if ${SM} || ${XUL} || ${FF} || ${IC}; then
 		if use webm && ! use alsa; then
 			echo "Enabling alsa support due to webm request"

diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass
index 624117c..2798a3b 100644
--- a/eclass/mozcoreconf-2.eclass
+++ b/eclass/mozcoreconf-2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 #