Ticket #34261: patch-Portfile.diff

File patch-Portfile.diff, 4.2 KB (added by BjarneDMat, 13 years ago)
  • mail/postfix/Portfile

    old new  
    173172    lappend AUXLIBS -lldap -llber
    174173}
    175174
    176 variant mysql5  description "add mysql support via mysql5" {
    177     depends_lib-append path:bin/mysql_config5:mysql5
    178     lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mysql5/mysql"
    179     lappend AUXLIBS "-L${prefix}/lib/mysql5/mysql" -lmysqlclient -lz -lm
    180 }
    181 
    182 variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 description "add postgresql support via postgresql83" {
    183     depends_lib-append port:postgresql83
    184     lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql83"
    185     lappend AUXLIBS "-L${prefix}/lib/postgresql83" -lpq
    186 }
    187 
    188 variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 description "add postgresql support via postgresql84" {
    189     depends_lib-append port:postgresql84
    190     lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql84"
    191     lappend AUXLIBS "-L${prefix}/lib/postgresql84" -lpq
    192 }
    193 
    194 variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 description "add postgresql support via postgresql90" {
    195     depends_lib-append port:postgresql90
    196     lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql90"
    197     lappend AUXLIBS "-L${prefix}/lib/postgresql90" -lpq
    198 }
    199 
    200 variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 description "add postgresql support via postgresql91" {
    201     depends_lib-append port:postgresql91
    202     lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql91"
    203     lappend AUXLIBS "-L${prefix}/lib/postgresql91" -lpq
     175variant mysql51 \
     176    conflicts mysql55 mariadb percona \
     177    description "add mysql support via mysql5.1" {
     178        depends_lib-append port:mysql51
     179        lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mysql51/mysql"
     180        lappend AUXLIBS "-L${prefix}/lib/mysql51/mysql" -lmysqlclient -lz -lm
     181}
     182
     183variant mysql55 \
     184    conflicts mysql51 mariadb percona \
     185    description "add mysql support via mysql5.5" {
     186        depends_lib-append port:mysql55
     187        lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mysql55/mysql"
     188        lappend AUXLIBS "-L${prefix}/lib/mysql55/mysql" -lmysqlclient -lz -lm
     189}
     190
     191variant mariadb \
     192    conflicts mysql51 mysql55 percona \
     193    description "add mysql support via mariadb" {
     194        depends_lib-append port:mariadb
     195        lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/mariadb/mysql"
     196        lappend AUXLIBS "-L${prefix}/lib/mariadb/mysql" -lmysqlclient -lz -lm
     197}
     198
     199variant percona \
     200    conflicts mysql51 mysql55 mariadb \
     201    description "add mysql support via percona" {
     202        depends_lib-append port:percona
     203        lappend CCARGS  -DHAS_MYSQL "-I${prefix}/include/percona/mysql"
     204        lappend AUXLIBS "-L${prefix}/lib/percona/mysql" -lmysqlclient -lz -lm
     205}
     206
     207variant postgresql83 \
     208    conflicts postgresql84 postgresql90 postgresql91 \
     209    description "add postgresql support via postgresql83" {
     210        depends_lib-append port:postgresql83
     211        lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql83"
     212        lappend AUXLIBS "-L${prefix}/lib/postgresql83" -lpq
     213}
     214
     215variant postgresql84 \
     216    conflicts postgresql83 postgresql90 postgresql91 \
     217    description "add postgresql support via postgresql84" {
     218        depends_lib-append port:postgresql84
     219        lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql84"
     220        lappend AUXLIBS "-L${prefix}/lib/postgresql84" -lpq
     221}
     222
     223variant postgresql90 \
     224    conflicts postgresql83 postgresql84 postgresql91 \
     225    description "add postgresql support via postgresql90" {
     226        depends_lib-append port:postgresql90
     227        lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql90"
     228        lappend AUXLIBS "-L${prefix}/lib/postgresql90" -lpq
     229}
     230
     231variant postgresql91 \
     232    conflicts postgresql83 postgresql84 postgresql90 \
     233    description "add postgresql support via postgresql91" {
     234        depends_lib-append port:postgresql91
     235        lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql91"
     236        lappend AUXLIBS "-L${prefix}/lib/postgresql91" -lpq
    204237}
    205238
    206239variant dovecot_sasl description "add Dovecot SASL support" {