Ticket #16257: Portfile.diff

File Portfile.diff, 565 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • Portfile

    old new  
    198198        port:freetds
    199199    configure.args-append \
    200200        --with-mssql=${prefix}
     201
     202    # See http://bugs.php.net/bug.php?id=44991
     203    post-patch {
     204        reinplace "s|tds.h|sybdb.h|g" ${worksrcpath}/configure
     205        reinplace "s|libtds.a|libsybdb.a|g" ${worksrcpath}/configure
     206        reinplace "s|libtds.so|libsybdb.dylib|g" ${worksrcpath}/configure
     207    }
    201208}
    202209
    203210variant snmp conflicts macports_snmp description {use Apple snmp} {