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

Collapse All | Expand All

(-)/var/package-manager/portage/eclass/wxwidgets.eclass (-2 / +6 lines)
Lines 59-65 Link Here
59
# inheriting.
59
# inheriting.
60
if [[ -z ${WX_CONFIG} ]]; then
60
if [[ -z ${WX_CONFIG} ]]; then
61
	if [[ -n ${WX_GTK_VER} ]]; then
61
	if [[ -n ${WX_GTK_VER} ]]; then
62
		for wxtoolkit in gtk2 base; do
62
		for wxtoolkit in gtk3 gtk2 base; do
63
			# newer versions don't have a seperate debug profile
63
			# newer versions don't have a seperate debug profile
64
			for wxdebug in xxx release- debug-; do
64
			for wxdebug in xxx release- debug-; do
65
				wxconf="${wxtoolkit}-unicode-${wxdebug/xxx/}${WX_GTK_VER}"
65
				wxconf="${wxtoolkit}-unicode-${wxdebug/xxx/}${WX_GTK_VER}"
Lines 110-116 Link Here
110
110
111
	# wxbase is provided by both gtk2 and base installations
111
	# wxbase is provided by both gtk2 and base installations
112
	if has_version "x11-libs/wxGTK:${WX_GTK_VER}[X]"; then
112
	if has_version "x11-libs/wxGTK:${WX_GTK_VER}[X]"; then
113
		wxtoolkit="gtk2"
113
		if [[ ${WX_GTK_VER} = 3.0 ]]; then
114
			wxtoolkit="gtk3"
115
		else
116
			wxtoolkit="gtk2"
117
		fi
114
	else
118
	else
115
		wxtoolkit="base"
119
		wxtoolkit="base"
116
	fi
120
	fi

Return to bug 491310