Ticket #41157: patch-mail-postfix-Portfile.diff

File patch-mail-postfix-Portfile.diff, 2.5 KB (added by pixilla (Bradley Giesbrecht), 11 years ago)

Add mysql56 variant

  • mail/postfix/Portfile

     
    175175}
    176176
    177177# Keep the mysql5 variant until the mysql5 port is replaced_by mysql51 port.
    178 variant mysql5  conflicts mysql51 mysql55 mariadb percona description "add MySQL support via mysql5" {
     178variant mysql5  conflicts mysql51 mysql55 mysql56 mariadb percona description "add MySQL support via mysql5" {
    179179    depends_lib-append path:bin/mysql_config5:mysql5
    180180    lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mysql5/mysql"
    181181    lappend AUXLIBS "-L${prefix}/lib/mysql5/mysql" -lmysqlclient -lz -lm
    182182}
    183183
    184 variant mysql51 conflicts mysql5 mysql55 mariadb percona description "add MySQL support via mysql51" {
     184variant mysql51 conflicts mysql5 mysql55 mysql56 mariadb percona description "add MySQL support via mysql51" {
    185185    depends_lib-append port:mysql51
    186186    lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mysql51/mysql"
    187187    lappend AUXLIBS "-L${prefix}/lib/mysql51/mysql" -lmysqlclient -lz -lm
    188188}
    189189
    190 variant mysql55 conflicts mysql5 mysql51 mariadb percona description "add MySQL support via mysql55" {
     190variant mysql55 conflicts mysql5 mysql51 mysql56 mariadb percona description "add MySQL support via mysql55" {
    191191    depends_lib-append port:mysql55
    192192    lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mysql55/mysql"
    193193    lappend AUXLIBS "-L${prefix}/lib/mysql55/mysql" -lmysqlclient -lz -lm
    194194}
    195195
    196 variant mariadb conflicts mysql5 mysql51 mysql55 percona description "add MySQL support via mariadb" {
     196variant mysql56 conflicts mysql5 mysql51 mysql55 mariadb percona description "add MySQL support via mysql56" {
     197    depends_lib-append port:mysql56
     198    lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mysql56/mysql"
     199    lappend AUXLIBS "-L${prefix}/lib/mysql56/mysql" -lmysqlclient -lz -lm
     200}
     201
     202variant mariadb conflicts mysql5 mysql51 mysql55 mysql56 percona description "add MySQL support via mariadb" {
    197203    depends_lib-append port:mariadb
    198204    lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mariadb/mysql"
    199205    lappend AUXLIBS "-L${prefix}/lib/mariadb/mysql" -lmysqlclient -lz -lm
    200206}
    201207
    202 variant percona conflicts mysql5 mysql51 mysql55 mariadb description "add MySQL support via percona" {
     208variant percona conflicts mysql5 mysql51 mysql55 mysql56 mariadb description "add MySQL support via percona" {
    203209    depends_lib-append port:percona
    204210    lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/percona/mysql"
    205211    lappend AUXLIBS "-L${prefix}/lib/percona/mysql" -lmysqlclient -lz -lm