I attach the patch to make dev-db/hsqldb works on g/fbsd
Created attachment 103895 [details, diff] hsqldb-1.7.3.1-r3.ebuild patch
In CVS, thanks Caster ;)