Ticket #39274: freetds+iodbc.patch

File freetds+iodbc.patch, 788 bytes (added by robsonpeixoto@…, 11 years ago)

without revision

  • Portfile

     
    7070    configure.args-append --enable-msdblib --with-tdsver=8.0
    7171}
    7272
    73 variant odbc description {Build odbc driver against unixODBC} {
     73variant odbc conflicts iodbc description {Build odbc driver against unixODBC} {
    7474    depends_lib-append port:unixODBC
    7575    configure.args-append --with-unixodbc=${prefix}
    7676}
    7777
     78variant iodbc conflicts odbc description {Build odbc driver against iODBC} {
     79    depends_lib-append port:libiodbc
     80    configure.args-append --with-iodbc=${prefix}
     81}
     82
    7883livecheck.type  regex
    7984livecheck.url   ftp://ftp.freetds.org/pub/${name}/stable/
    8085livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"