Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 568712
Collapse All | Expand All

(-)mesa-11.1.0.ebuild.orig (-4 / +12 lines)
Lines 222-228 Link Here
222
	fi
222
	fi
223
223
224
	if use egl; then
224
	if use egl; then
225
		myconf+="--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm") "
225
		myconf+="
226
			--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")
227
			"
226
	fi
228
	fi
227
229
228
	if use gallium; then
230
	if use gallium; then
Lines 235-241 Link Here
235
			$(use_enable xa)
237
			$(use_enable xa)
236
			$(use_enable xvmc)
238
			$(use_enable xvmc)
237
		"
239
		"
238
		use vaapi && myconf+="--with-va-libdir=/usr/$(get_libdir)/va/drivers"
240
		use vaapi && myconf+="
241
			--with-va-libdir=/usr/$(get_libdir)/va/drivers
242
						"
239
243
240
		gallium_enable swrast
244
		gallium_enable swrast
241
		gallium_enable video_cards_vmware svga
245
		gallium_enable video_cards_vmware svga
Lines 267-278 Link Here
267
271
268
	# x86 hardened pax_kernel needs glx-read-only-text, bug 240956
272
	# x86 hardened pax_kernel needs glx-read-only-text, bug 240956
269
	if [[ ${ABI} == x86 ]]; then
273
	if [[ ${ABI} == x86 ]]; then
270
		myconf+="$(use_enable pax_kernel glx-read-only-text)"
274
		myconf+="
275
			$(use_enable pax_kernel glx-read-only-text)
276
			"
271
	fi
277
	fi
272
278
273
	# on abi_x86_32 hardened we need to have asm disable
279
	# on abi_x86_32 hardened we need to have asm disable
274
	if [[ ${ABI} == x86* ]] && use pic; then
280
	if [[ ${ABI} == x86* ]] && use pic; then
275
		myconf+=" --disable-asm"
281
		myconf+="
282
			--disable-asm
283
			"
276
	fi
284
	fi
277
285
278
	# build fails with BSD indent, bug #428112
286
	# build fails with BSD indent, bug #428112

Return to bug 568712