Changeset 39105


Ignore:
Timestamp:
Aug 8, 2008, 9:29:33 AM (9 years ago)
Author:
ryandesign@…
Message:

php5, php5-devel: fix mssql variant to work with freetds 0.82; closes #16257

Location:
trunk/dports/www
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/php5-devel/Portfile

    r39022 r39105  
    195195    configure.args-append \
    196196        --with-mssql=${prefix}
     197   
     198    # See http://bugs.php.net/bug.php?id=44991
     199    post-patch {
     200        reinplace "s|tds.h|sybdb.h|g"               ${worksrcpath}/configure
     201        reinplace "s|libtds.a|libsybdb.a|g"         ${worksrcpath}/configure
     202        reinplace "s|libtds.so|libsybdb.dylib|g"    ${worksrcpath}/configure
     203    }
    197204}
    198205
  • trunk/dports/www/php5/Portfile

    r39011 r39105  
    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
Note: See TracChangeset for help on using the changeset viewer.