See attached build log. (Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 246283 [details] Build log
Created attachment 246752 [details, diff] Fix for ide-smart-1.4.ebuild
Created attachment 246753 [details] Ebuild with patch applied
Fixed in -r1.