Ticket #40057: mysqlxx_320.diff
File mysqlxx_320.diff, 2.5 KB (added by kepeng@…, 11 years ago) |
---|
-
dports/databases/mysqlxx/Portfile
3 3 PortSystem 1.0 4 4 5 5 name mysqlxx 6 version 3. 0.86 version 3.2.0 7 7 categories databases 8 8 maintainers genetikayos.com:kayos 9 9 platforms darwin freebsd … … 14 14 homepage http://tangentsoft.net/mysql++/ 15 15 master_sites http://tangentsoft.net/mysql++/releases/ 16 16 distname mysql++-${version} 17 checksums md5 b977bbf671df08661c15cde051db1513\18 sha1 060d81dcf284732a4dc3f74b305f48ec8d12150f\19 rmd160 686fc71773c3d828ed01374ba383e2d58ea5f37017 checksums md5 d2220b74e000d8ede13f451fe99bad5a \ 18 sha1 4bd50f5b8259b5f12e42d6a810e5941eaddaf24a \ 19 rmd160 308142c8462f801cdf219a63a07de63e717d51a6 20 20 21 21 depends_lib port:gettext \ 22 22 port:zlib 23 23 24 variant mysql4 conflicts mysql5 description {Build with MySQL 4 support} {24 variant mysql4 conflicts mysql5 mysql51 mysql55 mysql56 description {Build with MySQL 4 support} { 25 25 depends_lib-append port:mysql4 26 26 configure.args --with-mysql=${prefix} 27 27 } 28 28 29 variant mysql5 conflicts mysql4 description {Build with MySQL 5 support} {29 variant mysql5 conflicts mysql4 mysql51 mysql55 mysql56 description {Build with MySQL 5 support} { 30 30 depends_lib-append path:bin/mysql_config5:mysql5 31 31 configure.args --with-mysql-lib=${prefix}/lib/mysql5/mysql \ 32 32 --with-mysql-include=${prefix}/include/mysql5/mysql 33 33 } 34 34 35 if {![variant_isset mysql4]} { 35 variant mysql51 conflicts mysql4 mysql5 mysql55 mysql56 description {Build with MySQL 5.1 support} { 36 depends_lib-append path:bin/mysql_config51:mysql51 37 configure.args --with-mysql-lib=${prefix}/lib/mysql51/mysql \ 38 --with-mysql-include=${prefix}/include/mysql51/mysql 39 } 40 41 variant mysql55 conflicts mysql4 mysql5 mysql51 mysql56 description {Build with MySQL 5.5 support} { 42 depends_lib-append path:bin/mysql_config55:mysql55 43 configure.args --with-mysql-lib=${prefix}/lib/mysql55/mysql \ 44 --with-mysql-include=${prefix}/include/mysql55/mysql 45 } 46 47 variant mysql56 conflicts mysql4 mysql5 mysql51 mysql55 description {Build with MySQL 5.6 support} { 48 depends_lib-append path:bin/mysql_config56:mysql56 49 configure.args --with-mysql-lib=${prefix}/lib/mysql56/mysql \ 50 --with-mysql-include=${prefix}/include/mysql56/mysql 51 } 52 53 if {![variant_isset mysql4] && ![variant_isset mysql5] && ![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset mysql56] } { 36 54 default_variants +mysql5 37 55 } 38 56