unixODBC-2.2.6 has a couple problems, both of which concern the add-on gODBCConfig. gODBCConfig's configure script seems to respect --without-gnome, but will not compile without gnome-libs installed. Therefore, the dependency on gtk needs to be changed to gnome. I updated the IUSE and added a dependency for gnome-libs (use gtk had no dependency in DEPEND!) Lastly, I removed the myconf used on the configure line for gODBCConfig, because the configure options are totally different and irrelevant. All these things have been fixed and tested in the attached ebuild. I do not think a version bump is necessary, although I named the package as such only to distinguish it.
Created attachment 22254 [details] unixODBC-2.2.6-r1.ebuild
Committed.