Ticket #50577: Portfile-php.diff
File Portfile-php.diff, 1.0 KB (added by james.harris@…, 9 years ago) |
---|
-
Portfile
old new 38 38 if {[regexp {^php\d+$} ${subport}]} { 39 39 return yes 40 40 } 41 return [expr {-1 != [lsearch -exact [list apache2handler cgi fpm ] ${php.rootname}]}]41 return [expr {-1 != [lsearch -exact [list apache2handler cgi fpm dbg] ${php.rootname}]}] 42 42 } 43 43 44 44 # Returns true if the subport is an extension, false otherwise (SAPI, stub port). … … 521 521 } 522 522 } 523 523 524 ### DBG SAPI ### 525 526 if {[vercmp ${branch} 5.6] >= 0} { 527 subport ${php}-dbg { 528 description ${php} DBG SAPI 529 530 long_description ${description} 531 532 homepage http://www.php.net/install.unix.commandline 533 534 configure.args-append --enable-phpdbg 535 536 destroot { 537 xinstall ${worksrcpath}/sapi/phpdbg/phpdbg ${destroot}${prefix}/bin/phpdbg[php.suffix_from_branch ${branch}] 538 } 539 } 540 } 541 524 542 ### Bundled extensions ### 525 543 526 544 subport ${php}-calendar {