Ticket #18895 (closed defect: fixed)
spidermonkey: UTF-8 Support
Description
I'm trying to create a macport file for the 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
}
Change History
Note: See
TracTickets for help on using
tickets.

