Ticket #27286: patch-Portfile.diff

File patch-Portfile.diff, 1.3 KB (added by pixilla (Bradley Giesbrecht), 13 years ago)

bumped revision

  • Portfile

     
    44
    55name                    mysql-connector-odbc
    66version                 5.1.8
     7revision                1
    78set branch              [join [lrange [split ${version} .] 0 1] .]
    89homepage                http://www.mysql.com/products/connector/
    910categories              databases
     
    3637configure.args \
    3738          --with-unixODBC=${prefix} \
    3839          --with-mysql-path=${prefix} \
    39           --disable-shared \
     40          --enable-shared \
     41          --enable-static \
    4042          --enable-gui=no
    4143
    4244pre-configure {
     
    4648livecheck.type          regex
    4749livecheck.url           http://dev.mysql.com/downloads/connector/odbc/${branch}.html
    4850livecheck.regex         ${name}-(${branch}.\[0-9\.\]+)
     51
     52notes "To test ${name}
     53  ${prefix}/etc/odbcinst.ini
     54  \[MySQL\]
     55  Description     = ODBC for MySQL
     56  Driver          = ${prefix}/lib/libmyodbc5.so
     57  FileUsage       = 1
     58 
     59  ${prefix}/etc/odbc.ini
     60  \[MySQL-test\]
     61  Description     = MySQL database test
     62  Driver          = MySQL
     63  Server          = localhost
     64  Database        = test
     65  Port            = 3306
     66 
     67  \$ isql MySQL-test test"