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-417417-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RmSb3-00080q-05
	for garchives@archives.gentoo.org; Sun, 15 Jan 2012 16:06:17 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3DF3EE0693;
	Sun, 15 Jan 2012 16:06:10 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id F28C5E0693
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 Jan 2012 16:06:09 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7C3AE1B4001
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 Jan 2012 16:06:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id ADC8780042
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 Jan 2012 16:06:08 +0000 (UTC)
From: "Jory Pratt" <anarchy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" <anarchy@gentoo.org>
Message-ID: <dd6235ca62a5342f6e4e47e1d39bcc0fa23161c4.anarchy@gentoo>
Subject: [gentoo-commits] proj/mozilla:master commit in: www-client/firefox/
X-VCS-Repository: proj/mozilla
X-VCS-Files: www-client/firefox/Manifest www-client/firefox/firefox-9.0.ebuild
X-VCS-Directories: www-client/firefox/
X-VCS-Committer: anarchy
X-VCS-Committer-Name: Jory Pratt
X-VCS-Revision: dd6235ca62a5342f6e4e47e1d39bcc0fa23161c4
Date: Sun, 15 Jan 2012 16:06:08 +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: cca0dfc5-7534-48d6-b4c6-8f22f579ae2b
X-Archives-Hash: ab23b9b781f78f5e44235c52684b6cd9

commit:     dd6235ca62a5342f6e4e47e1d39bcc0fa23161c4
Author:     Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 16:05:39 2012 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 16:05:39 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mozilla.git;a=
=3Dcommit;h=3Ddd6235ca

move addpredict for pgo to pkg_setup()

---
 www-client/firefox/Manifest           |    2 +-
 www-client/firefox/firefox-9.0.ebuild |   16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index ccee73e..3654fea 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -84,4 +84,4 @@ DIST firefox-9.0-zh-CN.xpi 246728 RMD160 96aef0ad9287f4=
1589f59246eba1d2445d18a0c
 DIST firefox-9.0-zh-TW.xpi 247498 RMD160 163fa9dde9caa2e209eff47a1bdfee6=
cfd807aaf SHA1 f6c14facb1556002fcfb414533c171c2b9e08582 SHA256 6b50bd6056=
7a46fd7af62160271ab9e0d5a40666c6a812fb9adcd7bce474a936
 DIST firefox-9.0-zu.xpi 238395 RMD160 67afb3fd7bd9006830747a75b5175facf8=
615f86 SHA1 1b7c947e15d5fb2f75503e1cad9940283edc87d5 SHA256 aedf4ab70c7cf=
603210e4ece1c21faf0c031f7b488dddc074c3f00e9d9a2feb5
 DIST firefox-9.0.source.tar.bz2 74197197 RMD160 4631b103aa80ae2ae22b6145=
3f4e02c89962f1c1 SHA1 f79324ec6205e4c23d51d8ab2e790de1b2541657 SHA256 9e8=
76498da6c2eb2a49b57b461d5b969b11810f6af9eaa858d8e4cb514a9bd05
-EBUILD firefox-9.0.ebuild 9841 RMD160 19e3eb83c56845bb7973bb821b018b8d09=
1b6259 SHA1 9556856bbe4e4307430df4ef37ff1c2843a2eafb SHA256 5816d6fe2877a=
fee020e48a22b2fa26803fd2db0fb442b3780445748aeb98949
+EBUILD firefox-9.0.ebuild 9841 RMD160 04091e57405842c78293d8980d03fb67c1=
bcd3bb SHA1 71c51423ff2f1dac54a1df8e72d4c4639abe3481 SHA256 362d34b7bac2e=
220b82a9ac769eebc40d092d7a567d9f45d7584c3f22e1463ec

diff --git a/www-client/firefox/firefox-9.0.ebuild b/www-client/firefox/f=
irefox-9.0.ebuild
index f379e30..f03ba57 100644
--- a/www-client/firefox/firefox-9.0.ebuild
+++ b/www-client/firefox/firefox-9.0.ebuild
@@ -106,6 +106,14 @@ pkg_setup() {
 		einfo
 		ewarn "You will do a double build for profile guided optimization."
 		ewarn "This will result in your build taking at least twice as long as=
 before."
+
+		addpredict /root
+		addpredict /etc/gconf
+		# Firefox tries to dri stuff when it's run, see bug 380283
+		shopt -s nullglob
+		local cards=3D$(echo -n /dev/{dri,ati}/card* /dev/nvidiactl* | sed 's/=
 /:/g')
+		shopt -u nullglob
+		test -n "${cards}" && addpredict "${cards}"
 	fi
=20
 	# Ensure we have enough disk space to compile
@@ -216,14 +224,6 @@ src_configure() {
=20
 src_compile() {
 	if use pgo; then
-		addpredict /root
-		addpredict /etc/gconf
-		# Firefox tries to dri stuff when it's run, see bug 380283
-		shopt -s nullglob
-		local cards=3D$(echo -n /dev/{dri,ati}/card* /dev/nvidiactl* | sed 's/=
 /:/g')
-		shopt -u nullglob
-		test -n "${cards}" && addpredict "${cards}"
-
 		CC=3D"$(tc-getCC)" CXX=3D"$(tc-getCXX)" LD=3D"$(tc-getLD)" \
 		MOZ_MAKE_FLAGS=3D"${MAKEOPTS}" \
 		Xemake -f client.mk profiledbuild || die "Xemake failed"