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

Collapse All | Expand All

(-)/usr/portage/eclass/wxwidgets.eclass (-10 / +10 lines)
Lines 26-38 Link Here
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* export WX_GTK_VER in your ebuild:
27
	if [ "${WX_GTK_VER}" = "2.6" ]; then
27
	if [ "${WX_GTK_VER}" = "2.6" ]; then
28
		case $1 in
28
		case $1 in
29
			gtk)		set-wxconfig gtk-ansi;;
29
			gtk)		wx-config gtk-ansi;;
30
			gtk2)		set-wxconfig gtk2-ansi;;
30
			gtk2)		wx-config gtk2-ansi;;
31
			unicode)	set-wxconfig gtk2-unicode;;
31
			unicode)	wx-config gtk2-unicode;;
32
			base)		set-wxconfig base-ansi;;
32
			base)		wx-config base-ansi;;
33
			base-unicode)	set-wxconfig base-unicode;;
33
			base-unicode)	wx-config base-unicode;;
34
			mac)		set-wxconfig mac-ansi;;
34
			mac)		wx-config mac-ansi;;
35
			mac-unicode)	set-wxconfig mac-unicode;;
35
			mac-unicode)	wx-config mac-unicode;;
36
			*)		echo "!!! $FUNCNAME: Error: wxGTK was not comipled with $1."
36
			*)		echo "!!! $FUNCNAME: Error: wxGTK was not comipled with $1."
37
					echo "!!! Adjust your USE flags or re-emerge wxGTK with version you want."
37
					echo "!!! Adjust your USE flags or re-emerge wxGTK with version you want."
38
			exit 1;;
38
			exit 1;;
Lines 41-49 Link Here
41
	else
41
	else
42
		WX_GTK_VER="2.4"
42
		WX_GTK_VER="2.4"
43
		case $1 in
43
		case $1 in
44
			gtk)		set-wxconfig wxgtk;;
44
			gtk)		wx-config wxgtk;;
45
			gtk2)		set-wxconfig wxgtk2;;
45
			gtk2)		wx-config wxgtk2;;
46
			unicode)	set-wxconfig wxgtk2u;;
46
			unicode)	wx-config wxgtk2u;;
47
			*)		echo "!!! $FUNCNAME: Error: wxGTK was not compiled with $1."
47
			*)		echo "!!! $FUNCNAME: Error: wxGTK was not compiled with $1."
48
					echo "!!! Adjust your USE flags or re-emerge wxGTK with the version you want."
48
					echo "!!! Adjust your USE flags or re-emerge wxGTK with the version you want."
49
			exit 1;;
49
			exit 1;;

Return to bug 178176