The wrapper script installed along with =dev-util/eclipse-sdk-3.5.1 uses bashisms while using a POSIX shell (/bin/sh) shebang.
Created attachment 217658 [details, diff] Make the script /bin/sh-compliant
will get to this this week. Thanks for the bug report.
Fixed. InCVS. I will be revbumping eclipse in the next couple of day so have not done so for this fix. Reinstall if you want it straight away. Thanks for the patch. And im still less than a month late on this one :)