Ticket #53234: Portfile.diff

File Portfile.diff, 989 bytes (added by josephsacco, 7 years ago)

Portfile diff

  • (a) Portfile- vs. (b) Portfile

    a b  
    3030
    3131# The php variants deliberately do not conflict
    3232
    33 foreach php {php55 php56 php70} {
     33foreach php {php55 php56 php70 php71} {
    3434    eval [subst {
    3535        variant ${php} description "Use ${php}" {
    3636            depends_run-append  port:${php}-gd \
     
    4242    }]
    4343}
    4444
    45 if {![variant_isset php55] && ![variant_isset php56] && ![variant_isset php70]} {
    46     default_variants +php70
     45if {![variant_isset php55] && ![variant_isset php56] && ![variant_isset php70] } {
     46    default_variants +php71
    4747}
    4848
     49# patch for php71 bug that will be fixed in phpMyAdmin 4.6.6
     50# http://stackoverflow.com/questions/41065984/phpmyadmin-mcrypt-error-on-php7-1
     51#
     52patchfiles patch-ErrorHandler.php
     53
    4954set docroot         ${destroot}${prefix}/www/${name}
    5055set configfile      ${prefix}/www/${name}/config.inc.php
    5156set configsample    ${prefix}/www/${name}/config.sample.inc.php