Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16064 (closed enhancement: fixed)

Opened 7 weeks ago

Last modified 6 weeks ago

spidermonkey File Object compile option

Reported by: gianandrea.rigoni@… Owned by: akira@…
Priority: Normal Milestone: Port Enhancements
Component: ports Version: 1.6.0
Keywords: spidermonkey File Object Cc:
Port:

Description

in order to experiment with javascript on the shell command line, I am missing an interesting option that enables file reading from javascript:

JS_HAS_FILE_OBJECT=1 as described in spidermonkey docu "http://developer.mozilla.org/en/docs/SpiderMonkey:File_object", it would only be necessary to add the option on the build line in macports: build.args -f Makefile.ref LIBDIR="/lib" SO_SUFFIX=dylib JS_THREADSAFE=1 JS_HAS_FILE_OBJECT=1

if you dont like to put this option on for all builds, I think a variant

could fit the purpose. :-)

Attachments

Portfile-spidermonkey.diff (463 bytes) - added by gianandrea.rigoni@… 7 weeks ago.
portfile diff that adds variant fileobject

Change History

Changed 7 weeks ago by gianandrea.rigoni@…

portfile diff that adds variant fileobject

Changed 7 weeks ago by jmr@…

  • cc akira@… removed
  • owner changed from macports-tickets@… to akira@…

Changed 7 weeks ago by akira@…

  • status changed from new to assigned

Changed 6 weeks ago by akira@…

  • status changed from assigned to closed
  • resolution set to fixed

Thank you for the patch. Fixed in r38631.

Note: See TracTickets for help on using tickets.