On 2011-09-11, Devin Ceartas <nacred...@gmail.com> wrote:
> I've run into the issue discussed in many places online where Node.js addons
> require symbols in the v8 JavaScript engine to be exposed. There is a
> description of the solution needed in the FreeBSD ports at
> http://www.freebsd.org/cgi/query-pr.cgi?pr=157875
>
> What is necessary in our ports system to issue this compile directive in to
> v8? When I look at the Makefile for /usr/ports/www/node (for a snapshot of
> current from a couple of weeks ago) I don't see any SCONS directives there;
> I'm not sure how the handling of dependencies is done in our OpenBSD ports
> system, i.e. where the SCONS directive should be placed.

OpenBSD's node port uses the internal copy of v8, not a separate shared
copy as done in FreeBSD. Only mention of visibility in build log is:-

/usr/obj/i386/node-0.4.9/bin/python 
"/usr/obj/i386/node-0.4.9/node-v0.4.9/tools/scons/scons.py" -j 1 -C 
"/usr/obj/i386/node-0.4.9/node-v0.4.9/build/default/" -Y 
"/usr/obj/i386/node-0.4.9/node-v0.4.9/deps/v8" visibility=default mode=release 
arch=ia32 toolchain=gcc library=static snapshot=on

If anyone is going to look at it, they probably will want some steps
to reproduce other than that in the FreeBSD PR (i.e. something that
doesn't involve running a random downloaded sh script as root ;-)


Reply via email to