Ticket #19305: postfix-Portfile.patch

File postfix-Portfile.patch, 661 bytes (added by asonge@…, 15 years ago)

Patch file for postfix Portfile

  • Portfile

    old new  
    157157    set CCARGS      [concat ${CCARGS} -DHAS_MYSQL -I${prefix}/include/mysql5/mysql]
    158158    set AUXLIBS     [concat ${AUXLIBS} -L${prefix}/lib/mysql5/mysql -lmysqlclient -lz -lm]
    159159}
     160
     161variant postgresql83 description "add postgresql support via postgresql83" {
     162    depends_lib-append port:postgresql83
     163    set CCARGS      [concat ${CCARGS} -DHAS_PGSQL -I${prefix}/include/postgresql83]
     164    set AUXLIBS     [concat ${AUXLIBS} -L${prefix}/lib/postgresql83 -lpq]
     165}