Ticket #26613: Portfile-postfix.diff

File Portfile-postfix.diff, 1.4 KB (added by gael.deest@…, 14 years ago)
  • Portfile

    old new  
    172172    lappend AUXLIBS "-L${prefix}/lib/mysql5/mysql" -lmysqlclient -lz -lm
    173173}
    174174
    175 variant postgresql83 conflicts postgresql84 description "add postgresql support via postgresql83" {
     175variant postgresql83 conflicts postgresql84 postgresql90 description "add postgresql support via postgresql83" {
    176176    depends_lib-append port:postgresql83
    177177    lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql83"
    178178    lappend AUXLIBS "-L${prefix}/lib/postgresql83" -lpq
    179179}
    180180
    181 variant postgresql84 conflicts postgresql83 description "add postgresql support via postgresql84" {
     181variant postgresql84 conflicts postgresql83 postgresql90 description "add postgresql support via postgresql84" {
    182182    depends_lib-append port:postgresql84
    183183    lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql84"
    184184    lappend AUXLIBS "-L${prefix}/lib/postgresql84" -lpq
    185185}
    186186
     187variant postgresql90 conflicts postgresql83 postgresql84 description "add postgresql support via postgresql84" {
     188    depends_lib-append port:postgresql90
     189    lappend CCARGS  -DHAS_PGSQL "-I${prefix}/include/postgresql90"
     190    lappend AUXLIBS "-L${prefix}/lib/postgresql90" -lpq
     191}
     192
    187193variant dovecot_sasl description "add Dovecot SASL support" {
    188194    lappend CCARGS  -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE="dovecot"
    189195}