gdbm compiles fine with just db-4.3.27 installed, not 1.85-r2. I would suggest changing it to a generic sys-libs/db dependancy from my setup, but please double check this
looks that way to me too changed DEPEND in cvs, thanks