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

Collapse All | Expand All

(-)a/net-libs/webkit-gtk/webkit-gtk-2.14.2.ebuild (-10 / +7 lines)
Lines 195-211 src_configure() { Link Here
195
	# Multiple rendering bugs on youtube, github, etc without this, bug #547224
195
	# Multiple rendering bugs on youtube, github, etc without this, bug #547224
196
	append-flags $(test-flags -fno-strict-aliasing)
196
	append-flags $(test-flags -fno-strict-aliasing)
197
197
198
	local ruby_interpreter=""
198
	local ruby ruby_interpreter
199
199
200
	if has_version "virtual/rubygems[ruby_targets_ruby23]"; then
200
	for ruby in ${RUBY_TARGETS_PREFERENCE}; do
201
		ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby23)"
201
		if has ${ruby} ${USE_RUBY} && has_version "virtual/rubygems[ruby_targets_${ruby}]"; then
202
	elif has_version "virtual/rubygems[ruby_targets_ruby22]"; then
202
			ruby_interpreter="-DRUBY_EXECUTABLE=${ruby_path}"
203
		ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby22)"
203
			break
204
	elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then
204
		fi
205
		ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby21)"
205
	done
206
	else
207
		ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby20)"
208
	fi
209
206
210
	# TODO: Check Web Audio support
207
	# TODO: Check Web Audio support
211
	# should somehow let user select between them?
208
	# should somehow let user select between them?
(-)a/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200.ebuild (-10 / +7 lines)
Lines 192-208 src_configure() { Link Here
192
		append-ldflags "-Wl,--reduce-memory-overheads"
192
		append-ldflags "-Wl,--reduce-memory-overheads"
193
	fi
193
	fi
194
194
195
	local ruby_interpreter=""
195
	local ruby ruby_interpreter
196
196
197
	if has_version "virtual/rubygems[ruby_targets_ruby23]"; then
197
	for ruby in ${RUBY_TARGETS_PREFERENCE}; do
198
		ruby_interpreter="RUBY=$(type -P ruby23)"
198
		if has ${ruby} ${USE_RUBY} && has_version "virtual/rubygems[ruby_targets_${ruby}]"; then
199
	elif has_version "virtual/rubygems[ruby_targets_ruby22]"; then
199
			ruby_interpreter="RUBY=$(type -P ${ruby})"
200
		ruby_interpreter="RUBY=$(type -P ruby22)"
200
			break
201
	elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then
201
		fi
202
		ruby_interpreter="RUBY=$(type -P ruby21)"
202
	done
203
	else
204
		ruby_interpreter="RUBY=$(type -P ruby20)"
205
	fi
206
203
207
	# TODO: Check Web Audio support
204
	# TODO: Check Web Audio support
208
	# should somehow let user select between them?
205
	# should somehow let user select between them?

Return to bug 513888