I have "odbc" keyword in /etc/make.conf. Yet still, when I emerge freetds, unixODBC support does not get compiled in FreeTDS. I made a temporary fix by modifying the /usr/portage/dev-db/freetds/freetds-0.61-r1.ebuild a bit, but I think there is a more elegant way to achieve this, so unixODBC dependency would be added only if that is a desired option. Anyway, my modification was to modify econf line in src_compile() to be --- econf --with-tdsver=7.0 --with-unixodbc=/usr --- If the current FreeTDS is done deliberately, purposely, then please ignore me. :-) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 21244 [details, diff] Quick patch to implement the above with USE=odbc
Last version bump is...robbat2. ;-)
Seems to work fine. :)
fixed in cvs.