[78870] trunk/dports/lang/jslint/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue May 24 15:04:24 PDT 2011


Revision: 78870
          http://trac.macports.org/changeset/78870
Author:   ryandesign at macports.org
Date:     2011-05-24 15:04:24 -0700 (Tue, 24 May 2011)
Log Message:
-----------
jslint: fix detection of spidermonkey +fileobject variant; see #29561

Modified Paths:
--------------
    trunk/dports/lang/jslint/Portfile

Modified: trunk/dports/lang/jslint/Portfile
===================================================================
--- trunk/dports/lang/jslint/Portfile	2011-05-24 21:47:43 UTC (rev 78869)
+++ trunk/dports/lang/jslint/Portfile	2011-05-24 22:04:24 UTC (rev 78870)
@@ -29,7 +29,7 @@
 }
 
 configure {
-    if {[catch {exec ${prefix}/bin/js -e "new File();"} openerror]} {
+    if {[catch {exec ${prefix}/bin/js -e "File;"} openerror]} {
         ui_error "You need to install spidermonkey with the +fileobject variant in order to use ${name}."
         return -code error "incompatible spidermonkey installation"
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110524/6720a6a8/attachment.html>


More information about the macports-changes mailing list