[MacPorts] #16064: spidermonkey File Object compile option
MacPorts
noreply at macports.org
Tue Jul 22 06:23:38 PDT 2008
#16064: spidermonkey File Object compile option
-----------------------------------------+----------------------------------
Reporter: gianandrea.rigoni at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Keywords: spidermonkey File Object |
-----------------------------------------+----------------------------------
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. :-)
--
Ticket URL: <http://trac.macports.org/ticket/16064>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list