The ebuild and patch maintained here http://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks Fails during the einstall with "libtool: install: error: cannot install `libastyle.la' to a directory not ending in /usr/share/codeblocks/plugins" on AMD64 Line 58 was changed from "einstall ||..." to "make ${D} install ||..." and works well.
Created attachment 91612 [details] Ebuild for Codeblocks 1.0-rc2, an Cross platform C++ IDE Modified line 58 to work on amd64
Created attachment 91613 [details, diff] Codeblocks patch Patch ebuild needs provided here for convience.
You shouldn't use gtk2 use flag anywhere, it's deprecated. And, that wxGTK check will die for the same reason, there's no such use flag in current stable version.
Please, continue in the pending bug, no need for duplicates. Thanks. *** This bug has been marked as a duplicate of 89533 ***