Check the night builds...
Latest ones provide some builds...
Build wxwidgets (the newer the better) in some local folder.
Other than that ./configure --prefix=some-local-folder --with-wx-config=path to wx-config; make -jNNN; make install ; ./bundle.sh; move the CodeBlocks.app folder to /Applications ... When you find some bug debug, patch, repeat...
I'm sure I miss some steps...