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 |
| 15 | checksums md5 bf408a7d1f10aec28102fd27cba1f6eb |
| 16 | |
| 17 | depends_lib port:mysql5 \ |
| 18 | port:tcl \ |
| 19 | port:tk |
| 20 | |
| 21 | configure.args --with-tcl=${prefix}/lib \ |
| 22 | --with-mysql-include=${prefix}/include/mysql5/mysql \ |
| 23 | --with-mysql-lib=${prefix}/lib/mysql5/mysql |
| 24 | |
| 25 | variant 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 | } |