[MacPorts] #18895: spidermonkey: UTF-8 Support

MacPorts noreply at macports.org
Wed Mar 18 13:47:58 PDT 2009


#18895: spidermonkey: UTF-8 Support
--------------------------------------------------------+-------------------
 Reporter:  ruediger@…                                  |       Owner:  macports-tickets@…                   
     Type:  defect                                      |      Status:  new                                  
 Priority:  Normal                                      |   Milestone:  Port Bugs                            
Component:  ports                                       |     Version:  1.7.0                                
 Keywords:  javascript, utf8, spidermonkey, flusspferd  |        Port:  spidermonkey                         
--------------------------------------------------------+-------------------
 I'm trying to create a macport file for the [http://flusspferd.org
 Flusspferd JavaScript library] which depends on spidermonkey having UTF-8
 support. Unfortunately spidermonkey is build without UTF-8 support and
 there is no variant to do so.

 To build spidermonkey with UTF-8 support you have to set DEFINES to
 -DJS_C_STRINGS_ARE_UTF8

 so something along those lines should do it:
 {{{
 variant utf8 description {add UTF-8 support} {
   build.args-append \
   DEFINES=-DJS_C_STRINGS_ARE_UTF8
 }
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/18895>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list