[MacPorts] #26041: spidermonkey 1.7.0 +fileobject does not actually enable the file object
MacPorts
noreply at macports.org
Thu Nov 4 04:31:19 PDT 2010
#26041: spidermonkey 1.7.0 +fileobject does not actually enable the file object
-------------------------------+--------------------------------------------
Reporter: onne@… | Owner: akitada@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: spidermonkey
-------------------------------+--------------------------------------------
Comment(by vjt@…):
Hello,
the following patch both fixes the reported problem, and enables readline
support in the interactive JS shell.
The reason is that the DEFINES= parameter to make is shadowing the
`Makefile.ref` generated $(DEFINES) variable. Anyway, if the
`-DJS_C_STRINGS_ARE_UTF8` is not specified on the command line, it gets
added automagically by `Makefile.ref`, at least on my machine (Macports
1.9.1, Darwin 10.4.0/x86_64).
{{{
--- Portfile~ 2010-11-04 12:26:07.000000000 +0100
+++ Portfile 2010-11-04 12:26:33.000000000 +0100
@@ -51,7 +51,7 @@
LIBDIR="/lib" \
SO_SUFFIX=dylib \
JS_THREADSAFE=1 \
- DEFINES=-DJS_C_STRINGS_ARE_UTF8
+ JS_READLINE=1
if { ![variant_isset universal] } {
build.args-append CC='${configure.cc} -arch ${build_arch}'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/26041#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list