<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>34271</bug_id>
          
          <creation_ts>2003-11-24 10:52 0000</creation_ts>
          <short_desc>FreeTDS ebuild does not obey the odbc keyword.</short_desc>
          <delta_ts>2004-02-10 11:21:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>40243</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jaba@mikrobitti.fi</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jaba@mikrobitti.fi</who>
            <bug_when>2003-11-24 10:52:26 0000</bug_when>
            <thetext>I have &quot;odbc&quot; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2003-11-25 00:13:39 0000</bug_when>
            <thetext>Created an attachment (id=21244)
Quick patch to implement the above with USE=odbc
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2003-11-25 00:25:34 0000</bug_when>
            <thetext>Last version bump is...robbat2. ;-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaba@mikrobitti.fi</who>
            <bug_when>2003-11-26 04:00:32 0000</bug_when>
            <thetext>Seems to work fine. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2004-02-10 11:21:43 0000</bug_when>
            <thetext>fixed in cvs.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>21244</attachid>
            <date>2003-11-25 00:13 0000</date>
            <desc>Quick patch to implement the above with USE=odbc</desc>
            <filename>freetds-0.61-r1.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGZyZWV0ZHMtMC42MS1yMS5lYnVpbGQub3JpZwkyMDAzLTExLTI1IDAzOjEwOjUxLjAwMDAw
MDAwMCAtMDUwMAorKysgZnJlZXRkcy0wLjYxLXIxLmVidWlsZAkyMDAzLTExLTI1IDAzOjEzOjA0
LjAwMDAwMDAwMCAtMDUwMApAQCAtNSw3ICs1LDcgQEAKIERFU0NSSVBUSU9OPSJUYWJ1bGFyIERh
dGFzdHJlYW0gTGlicmFyeSIKIFNSQ19VUkk9Imh0dHA6Ly9pYmlibGlvLm9yZy9wdWIvTGludXgv
QUxQSEEvZnJlZXRkcy9zdGFibGUvJHtQfS50Z3oiCiBIT01FUEFHRT0iaHR0cDovL3d3dy5mcmVl
dGRzLm9yZy8iCi0KK0lVU0U9Im9kYmMiCiBTTE9UPSIwIgogTElDRU5TRT0iR1BMLTIiCiBLRVlX
T1JEUz0ieDg2IHNwYXJjIH5wcGMgfm1pcHMgfmFybSBocHBhIH5hbHBoYSBhbWQ2NCIKQEAgLTE0
LDcgKzE0LDkgQEAKIFM9JHtXT1JLRElSfS8ke1B9CiAKIHNyY19jb21waWxlKCkgewotCWVjb25m
IC0td2l0aC10ZHN2ZXI9Ny4wCisJbG9jYWwgbXljb25mCisJdXNlIG9kYmMgJiYgbXljb25mPSIt
LXdpdGgtdW5peG9kYmM9L3VzciIKKwllY29uZiAtLXdpdGgtdGRzdmVyPTcuMCAke215Y29uZn0K
IAllbWFrZSB8fCBkaWUKIH0KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>