Commits
Veence authored e3710d6800e
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | |
5 5 | set package.name lib_mysqludf_fPROJ4 |
6 6 | version 0.1.0 |
7 - | revision 2 |
7 + | revision 3 |
8 8 | set mysql.name mysql55 |
9 9 | name ${mysql.name}-${package.name} |
10 10 | |
11 11 | set mysql.ports {mysql5 mysql51 mysql55 mariadb percona} |
12 12 | foreach mysql.port ${mysql.ports} { |
13 13 | |
14 14 | lappend mysql.extension.ports "${mysql.port}-${package.name}" |
15 15 | } |
16 16 | foreach mysql.extension.port ${mysql.extension.ports} { |
17 17 | |
44 44 | homepage http://www.mysqludf.org/${package.name}/ |
45 45 | master_sites ${homepage} |
46 46 | |
47 47 | dist_subdir lib_mysqludf |
48 48 | distname ${package.name}-${version} |
49 49 | worksrcdir ${distname}-src |
50 50 | |
51 51 | checksums rmd160 062aabb5764d9c0d6bf3803faa7a5e0d0116d90a \ |
52 52 | sha256 22ec139f1652040828da18a4b3a469355486d459f8000d25381422b9c9e45cdd |
53 53 | |
54 - | depends_lib-append port:proj |
54 + | depends_lib-append port:proj4 |
55 55 | |
56 56 | use_configure no |
57 57 | |
58 58 | configure.cflags-append \ |
59 59 | -I${prefix}/include/${mysql.name} \ |
60 60 | -I${prefix}/include/${mysql.name}/mysql \ |
61 + | -L${prefix}/lib/proj49/lib \ |
61 62 | -lproj \ |
62 63 | -bundle \ |
63 64 | -undefined dynamic_lookup |
64 65 | |
65 66 | build { |
66 67 | set cmd "${configure.cpp} ${configure.ldflags} ${configure.cflags} ${configure.cppflags}" |
67 68 | if [variant_isset universal] { |
68 69 | |
69 70 | set "${cmd} ${configure.universal_cflags}" |
70 71 | } |