Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34271 - FreeTDS ebuild does not obey the odbc keyword.
Summary: FreeTDS ebuild does not obey the odbc keyword.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 40243
  Show dependency tree
 
Reported: 2003-11-24 10:52 UTC by Janne Pikkarainen
Modified: 2004-02-10 11:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Quick patch to implement the above with USE=odbc (freetds-0.61-r1.ebuild.patch,590 bytes, patch)
2003-11-25 00:13 UTC, Donnie Berkholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janne Pikkarainen 2003-11-24 10:52:26 UTC
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 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-25 00:13:39 UTC
Created attachment 21244 [details, diff]
Quick patch to implement the above with USE=odbc
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-11-25 00:25:34 UTC
Last version bump is...robbat2. ;-)
Comment 3 Janne Pikkarainen 2003-11-26 04:00:32 UTC
Seems to work fine. :)
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-02-10 11:21:43 UTC
fixed in cvs.