Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#16064 closed enhancement (fixed)

spidermonkey File Object compile option

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


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 "", 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 (1)

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

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by gianandrea.rigoni@…

Attachment: Portfile-spidermonkey.diff added

portfile diff that adds variant fileobject

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: akira@… removed
Owner: changed from macports-tickets@… to akira@…

comment:2 Changed 13 years ago by akira@…

Status: newassigned

comment:3 Changed 13 years ago by akira@…

Resolution: fixed
Status: assignedclosed

Thank you for the patch. Fixed in r38631.

comment:4 Changed 12 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.