Ticket #29561: jslint-Portfile.diff

File jslint-Portfile.diff, 453 bytes (added by macports.org@…, 13 years ago)
  • Portfile

     
    2929}
    3030
    3131configure {
    32     if {[catch {exec ${prefix}/bin/js -e "new File();"} openerror]} {
     32    if {[catch {exec ${prefix}/bin/js -e "File;"} openerror]} {
    3333        ui_error "You need to install spidermonkey with the +fileobject variant in order to use ${name}."
    3434        return -code error "incompatible spidermonkey installation"
    3535    }