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

Collapse All | Expand All

(-)/usr/portage/eclass/wxwidgets.eclass (-3 / +3 lines)
Lines 23-30 Link Here
23
23
24
need-wxwidgets() {
24
need-wxwidgets() {
25
	debug-print-function $FUNCNAME $*
25
	debug-print-function $FUNCNAME $*
26
	#If you want to use wxGTK-2.6* export WX_GTK_VER in your ebuild:
26
	#If you want to use wxGTK-2.6* or wxGTK-2.8* export WX_GTK_VER in your ebuild:
27
	if [ "${WX_GTK_VER}" = "2.6" ]; then
27
	if [[ "${WX_GTK_VER}" == "2.6" || "${WX_GTK_VER}" == "2.8" ]]; then
28
		case $1 in
28
		case $1 in
29
			gtk)		set-wxconfig gtk-ansi;;
29
			gtk)		set-wxconfig gtk-ansi;;
30
			gtk2)		set-wxconfig gtk2-ansi;;
30
			gtk2)		set-wxconfig gtk2-ansi;;
Lines 56-62 Link Here
56
56
57
	debug-print-function $FUNCNAME $*
57
	debug-print-function $FUNCNAME $*
58
58
59
	if [ "${WX_GTK_VER}" = "2.6" ] ; then
59
	if [[ "${WX_GTK_VER}" == "2.6" || "${WX_GTK_VER}" == "2.8" ]] ; then
60
		wxconfig_prefix="/usr/$(get_libdir)/wx/config"
60
		wxconfig_prefix="/usr/$(get_libdir)/wx/config"
61
		wxconfig_name="${1}-release-${WX_GTK_VER}"
61
		wxconfig_name="${1}-release-${WX_GTK_VER}"
62
		wxconfig="${wxconfig_prefix}/${wxconfig_name}"
62
		wxconfig="${wxconfig_prefix}/${wxconfig_name}"

Return to bug 145884