Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 394715 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/www-client/firefox/firefox-12.0.ebuild (-9 / +9 lines)
Lines 96-110 Link Here
96
pkg_setup() {
96
pkg_setup() {
97
	moz_pkgsetup
97
	moz_pkgsetup
98
98
99
	# Avoid PGO profiling problems due to enviroment leakage
100
	# These should *always* be cleaned up anyway
101
	unset DBUS_SESSION_BUS_ADDRESS \
102
		DISPLAY \
103
		ORBIT_SOCKETDIR \
104
		SESSION_MANAGER \
105
		XDG_SESSION_COOKIE \
106
		XAUTHORITY
107
108
	if ! use bindist; then
99
	if ! use bindist; then
109
		einfo
100
		einfo
110
		elog "You are enabling official branding. You may not redistribute this build"
101
		elog "You are enabling official branding. You may not redistribute this build"
Lines 233-238 Link Here
233
		# Reset and cleanup environment variables used by GNOME/XDG
224
		# Reset and cleanup environment variables used by GNOME/XDG
234
		gnome2_environment_reset
225
		gnome2_environment_reset
235
226
227
	# Avoid PGO profiling problems due to enviroment leakage
228
	# These should *always* be cleaned up anyway
229
		unset DBUS_SESSION_BUS_ADDRESS \
230
			DISPLAY \
231
			ORBIT_SOCKETDIR \
232
			SESSION_MANAGER \
233
			XDG_SESSION_COOKIE \
234
			XAUTHORITY
235
236
		# Firefox tries to use dri stuff when it's run, see bug 380283
236
		# Firefox tries to use dri stuff when it's run, see bug 380283
237
		shopt -s nullglob
237
		shopt -s nullglob
238
		cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
238
		cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')

Return to bug 394715