Ticket #7715: php4.diff

File php4.diff, 734 bytes (added by joe@…, 19 years ago)

mysql5 variant

  • www/php4/Portfile

    old new  
    115115        configure.args-append   --with-mysql=${prefix}
    116116}
    117117
     118variant mysql5 {
     119        depends_lib-append      port:mysql5
     120        configure.args-delete   --without-mysql
     121        configure.args-append   --with-mysql=${workpath}/mysql5
     122        post-extract {
     123                file mkdir "${workpath}/mysql5"
     124                file link -symbolic "${workpath}/mysql5/lib" "${prefix}/lib/mysql5"
     125                file link -symbolic "${workpath}/mysql5/include" "${prefix}/include/mysql5"
     126        }
     127}
     128
    118129variant postgresql {
    119130        pre-configure {
    120131                file mkdir ${workpath}/pgsql8