diff --git a/lang/php/Portfile b/lang/php/Portfile
index 313d4a620e1..a60794c7988 100644
a
|
b
|
if {[vercmp ${branch} 5.5] >= 0} { |
1448 | 1448 | switch -- ${version} { |
1449 | 1449 | 5.5.38 {revision 1} |
1450 | 1450 | 5.6.40 {revision 1} |
1451 | | 7.0.33 {revision 0} |
1452 | | 7.1.33 {revision 0} |
1453 | | 7.2.29 {revision 0} |
1454 | | 7.3.16 {revision 0} |
1455 | | 7.4.4 {revision 0} |
| 1451 | 7.0.33 {revision 1} |
| 1452 | 7.1.33 {revision 1} |
| 1453 | 7.2.29 {revision 1} |
| 1454 | 7.3.16 {revision 1} |
| 1455 | 7.4.4 {revision 1} |
1456 | 1456 | } |
1457 | 1457 | |
1458 | 1458 | php.extensions.zend opcache |
… |
… |
if {[vercmp ${branch} 5.5] >= 0} { |
1463 | 1463 | |
1464 | 1464 | long_description ${description} |
1465 | 1465 | |
1466 | | configure.args-append --enable-opcache |
1467 | | |
| 1466 | configure.args-append --enable-opcache |
| 1467 | |
| 1468 | # file based opcode cache was added in 7.0 (3abde432) |
| 1469 | if {[vercmp ${branch} 7.0] >= 0} { |
| 1470 | configure.args-append --enable-opcache-file |
| 1471 | } |
| 1472 | |
1468 | 1473 | post-destroot { |
1469 | 1474 | set docdir ${destroot}${prefix}/share/doc/${subport} |
1470 | 1475 | xinstall -d ${docdir} |