I encountered some problems trying to compile CodeBlocks 1.0rc2 under FreeBSD 6.0.
The sources were downloaded from odeblocks.org, the port file from freebsd.org.
1. In the port makefile xargs with -e option used on lines 48 and 52, but one should use -E option instead I guess.
2. All sources have Windows style line ends. GCC doesn't make a big deal out of it while FreeBSD patch won't patch files with line ends other than UNIX.
Now waiting for compilation process to complete.