Bug 34271 - FreeTDS ebuild does not obey the odbc keyword.
Bug#: 34271 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: robbat2@gentoo.org Reported By: jaba@mikrobitti.fi
Component: Ebuilds
URL: 
Summary: FreeTDS ebuild does not obey the odbc keyword.
Keywords:  
Status Whiteboard: 
Opened: 2003-11-24 10:52 0000
Description:   Opened: 2003-11-24 10:52 0000
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.

------- Comment #1 From Donnie Berkholz 2003-11-25 00:13:39 0000 -------
Created an attachment (id=21244) [details]
Quick patch to implement the above with USE=odbc

------- Comment #2 From Mr. Bones. 2003-11-25 00:25:34 0000 -------
Last version bump is...robbat2. ;-)

------- Comment #3 From Janne Pikkarainen 2003-11-26 04:00:32 0000 -------
Seems to work fine. :)

------- Comment #4 From Robin Johnson 2004-02-10 11:21:43 0000 -------
fixed in cvs.