Ticket #14579: mysql5.diff
File mysql5.diff, 3.4 KB (added by ebgssth@…, 17 years ago) |
---|
-
perl/p5-dbd-mysql/Portfile
13 13 checksums md5 133ac08c22bb19194ad8b895e3204310 14 14 15 15 depends_lib-append port:p5-dbi \ 16 port:mysql5 \17 16 port:zlib 18 17 19 configure.args-append --mysql_config=${prefix}/bin/mysql_config5 18 variant mysql3 conflicts mysql4 mysql5 description {build with mysql3 port} { 19 depends_lib-append port:mysql3 20 } 20 21 21 variant mysqlbinary conflicts mysql3 mysql4 description {build with binary from mysql website} { 22 depends_lib-delete port:mysql5 23 configure.args-delete --mysql_config=${prefix}/bin/mysql_config5 24 configure.args-append --mysql_config=/usr/local/mysql/bin/mysql_config 22 variant mysql4 conflicts mysql3 mysql5 description {build with mysql4 port} { 23 depends_lib-append port:mysql4 25 24 } 26 25 27 variant mysql3 conflicts mysqlbinary mysql4 description {build with mysql3 port} { 28 depends_lib-delete port:mysql5 29 depends_lib-append port:mysql3 30 configure.args-delete --mysql_config=${prefix}/bin/mysql_config5 26 variant mysql5 conflicts mysql3 mysql4 description {build with mysql5 port (default)} { 27 depends_lib-append path:${prefix}/bin/mysql_config5:mysql5 28 configure.args-append --mysql_config=${prefix}/bin/mysql_config5 31 29 } 32 30 33 variant mysql4 conflicts mysqlbinary mysql3 description {build with mysql4 port} { 34 depends_lib-delete port:mysql5 35 depends_lib-append port:mysql4 36 configure.args-delete --mysql_config=${prefix}/bin/mysql_config5 31 if {![variant_isset mysql3] && ![variant_isset mysql4]} { 32 default_variants +mysql5 37 33 } 34 35 pre-fetch { 36 if {![variant_isset mysql3] && ![variant_isset mysql4] && ![variant_isset mysql5]} { 37 return -code error "you must select either mysql3, mysql4 or mysql5" 38 } 39 } -
databases/mysql5-devel/Portfile
6 6 set vers 5.1.23 7 7 version ${vers}-rc 8 8 set branch [join [lrange [split ${version} .] 0 1] .] 9 revision 19 revision 2 10 10 homepage http://www.mysql.com/ 11 11 categories databases 12 12 platforms darwin … … 70 70 71 71 post-configure { 72 72 reinplace "s;openssl_includes = -I;openssl_includes_includes = -I${prefix}/include/openssl;" ${worksrcpath}/tests/Makefile 73 # Reverting member names in mysql_com.h 74 # Remove this when 5.1.24-RC is released. 75 # http://bugs.mysql.com/bug.php?id=34655 76 reinplace "s/client_last_errno/last_errno/g" \ 77 ${worksrcpath}/include/mysql_com.h \ 78 ${worksrcpath}/include/mysql_h.ic \ 79 ${worksrcpath}/libmysql/libmysql.c \ 80 ${worksrcpath}/libmysql/manager.c \ 81 ${worksrcpath}/libmysqld/lib_sql.cc \ 82 ${worksrcpath}/libmysqld/libmysqld.c \ 83 ${worksrcpath}/server-tools/instance-manager/mysql_connection.cc \ 84 ${worksrcpath}/sql-common/client.c \ 85 ${worksrcpath}/sql/log_event.cc \ 86 ${worksrcpath}/sql/log_event_old.cc \ 87 ${worksrcpath}/sql/net_serv.cc \ 88 ${worksrcpath}/sql/repl_failsafe.cc 73 89 } 74 90 75 91 platform darwin 6 {