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

Collapse All | Expand All

(-)chromium-16.0.899.0.ebuild.orig (-6 / +14 lines)
Lines 216-224 Link Here
216
		$(gyp_use pulseaudio use_pulseaudio)"
216
		$(gyp_use pulseaudio use_pulseaudio)"
217
217
218
	# Enable sandbox.
218
	# Enable sandbox.
219
	myconf+="
219
        if ! use prefix; then
220
		-Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox
220
                myconf+="
221
		-Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
221
                        -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox
222
                        -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
223
        fi
222
224
223
	if host-is-pax; then
225
	if host-is-pax; then
224
		# Prevent the build from failing (bug #301880). The performance
226
		# Prevent the build from failing (bug #301880). The performance
Lines 262-268 Link Here
262
}
264
}
263
265
264
src_compile() {
266
src_compile() {
265
	emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die
267
	emake chrome BUILDTYPE=Release V=1 || die
268
        if ! use prefix; then
269
	        emake chrome_sandbox BUILDTYPE=Release V=1 || die
270
        fi
266
	pax-mark m out/Release/chrome
271
	pax-mark m out/Release/chrome
267
	if use chromedriver; then
272
	if use chromedriver; then
268
		emake chromedriver BUILDTYPE=Release V=1 || die
273
		emake chromedriver BUILDTYPE=Release V=1 || die
Lines 306-313 Link Here
306
src_install() {
311
src_install() {
307
	exeinto "${CHROMIUM_HOME}"
312
	exeinto "${CHROMIUM_HOME}"
308
	doexe out/Release/chrome || die
313
	doexe out/Release/chrome || die
309
	doexe out/Release/chrome_sandbox || die
314
310
	fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox"
315
        if ! use prefix; then
316
	        doexe out/Release/chrome_sandbox || die
317
	        fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox"
318
        fi
311
319
312
	if use chromedriver; then
320
	if use chromedriver; then
313
		doexe out/Release/chromedriver || die
321
		doexe out/Release/chromedriver || die

Return to bug 385587