Ticket #9353: Portfile.diff

File Portfile.diff, 1.3 KB (added by markd@…, 18 years ago)

Portfile diff

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            mysqltcl
    5 version         2.0rc15
     5version         3.02
    66categories      databases devel
    77maintainers     kevin@opendarwin.org
    88description     Simple API for Mysql-Database and Tcl scripting language.
     
    1212homepage        http://www.xdobry.de/mysqltcl/
    1313platforms       darwin
    1414master_sites    http://www.xdobry.de/mysqltcl/
    15 checksums       md5 49eda29dc599c51b056b2d67bfdb7d39
    16 depends_lib     lib:libmysqlclient.10:mysql bin:wish8.4:tk
    17 configure.env   LDFLAGS=-L${prefix}/lib/mysql/ CPPFLAGS=-I${prefix}/include/mysql/
    18 configure.args  --prefix=${destroot}${prefix}
    19 destroot.destdir
     15checksums       md5 bf408a7d1f10aec28102fd27cba1f6eb
     16
     17depends_lib     port:mysql5 \
     18                port:tcl \
     19                port:tk
     20
     21configure.args  --with-tcl=${prefix}/lib \
     22                --with-mysql-include=${prefix}/include/mysql5/mysql \
     23                --with-mysql-lib=${prefix}/lib/mysql5/mysql
     24
     25variant mysql4 {
     26        depends_lib-delete port:mysql5
     27        depends_lib-add port:mysql4
     28        configure.args_delete --with-mysql-include=${prefix}/include/mysql5/mysql
     29        configure.args_delete --with-mysql-lib=${prefix}/lib/mysql5/mysql
     30        configure.args_add --with-mysql-include=${prefix}/include/mysql
     31        configure.args_add --with-mysql-lib=${prefix}/lib/mysql
     32}