Ticket #44484: p5-dbd-mysql.diff
File p5-dbd-mysql.diff, 3.1 KB (added by hassy.6thsense@…, 10 years ago) |
---|
-
p5-dbd-mysql/Portfile
old new 20 20 21 21 depends_lib-append port:p${perl5.major}-dbi 22 22 23 variant mysql4 conflicts mysql5 mysql51 mysql55 mariadb perconadescription {build with mysql4 port} {23 variant mysql4 conflicts mysql51 mysql55 mysql56 mariadb55 percona55 description {build with mysql4 port} { 24 24 depends_lib-append port:mysql4 25 25 } 26 26 27 variant mysql5 conflicts mysql4 mysql51 mysql55 mariadb percona description {build with mysql5 port} { 28 depends_lib-append path:bin/mysql_config5:mysql5 29 configure.args-append --mysql_config=${prefix}/bin/mysql_config5 30 } 31 32 variant mysql51 conflicts mysql4 mysql5 mysql55 mariadb percona description {build with mysql51 port} { 27 variant mysql51 conflicts mysql4 mysql55 mysql56 mariadb55 percona55 description {build with mysql51 port} { 33 28 depends_lib-append port:mysql51 34 29 configure.args-append --mysql_config=${prefix}/lib/mysql51/bin/mysql_config 35 30 } 36 31 37 variant mysql55 conflicts mysql4 mysql5 mysql51 mariadb perconadescription {build with mysql55 port} {32 variant mysql55 conflicts mysql4 mysql51 mysql56 mariadb55 percona55 description {build with mysql55 port} { 38 33 depends_lib-append port:mysql55 39 34 configure.args-append --mysql_config=${prefix}/lib/mysql55/bin/mysql_config 40 35 } 41 36 42 variant mariadb conflicts mysql4 mysql5 mysql51 mysql55 percona description {build with mariadb port} { 37 variant mysql56 conflicts mysql4 mysql51 mysql55 mariadb55 percona55 description {build with mysql56 port} { 38 depends_lib-append port:mysql56 39 configure.args-append --mysql_config=${prefix}/lib/mysql56/bin/mysql_config 40 } 41 42 variant mariadb55 conflicts mysql4 mysql51 mysql55 mysql56 percona55 description {build with mariadb port} { 43 43 depends_lib-append port:mariadb 44 44 configure.args-append --mysql_config=${prefix}/lib/mariadb/bin/mysql_config 45 45 } 46 46 47 variant percona conflicts mysql4 mysql5 mysql51 mysql55 mariadbdescription {build with percona port} {47 variant percona55 conflicts mysql4 mysql51 mysql55 mysql56 mariadb55 description {build with percona port} { 48 48 depends_lib-append port:percona 49 49 configure.args-append --mysql_config=${prefix}/lib/percona/bin/mysql_config 50 50 } 51 51 52 # If legacy +mysql5 variant change to replacement +mysql51 variant. 53 if {[variant_isset mysql5]} { 54 default_variants-append +mysql51 55 } 56 52 57 if { ![variant_isset mysql4] 53 && ![variant_isset mysql5]54 58 && ![variant_isset mysql51] 55 59 && ![variant_isset mysql55] 56 && ![variant_isset mariadb] 57 && ![variant_isset percona] 60 && ![variant_isset mysql56] 61 && ![variant_isset mariadb55] 62 && ![variant_isset percona55] 58 63 } { 59 default_variants +m ysql564 default_variants +mariadb55 60 65 } 61 66 }