cmake calls wx-config using "COMMAND sh ..." leading to breakages in every package using wxGTK+cmake. So, please either make wx-config posix-compatible (appreciated) or patch cmake to use "COMMAND bash" instead (works as well).
Created attachment 195155 [details] patch onto wx-config to be sh posix compatible I think way better than executing bash in findwxwidgets would be better to actualy make wx-config posix compatible. Agreed?
Created attachment 196134 [details, diff] wx-config.diff yep, that's the way to go. there's still a bashism in there [ ... && ... ] though. can you give this a try?
Created attachment 196136 [details, diff] wx-config.diff and this one even works :P
Fixed in eselect-wxwidgets-1.0.
Just letting you know that I tried eselect-wxwidgets-1.0 and cmake successfully found the wxWidgets package now. Thanks