From 03b6cb93455475c7e36838e298cefa6f91c1eb6f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 23 Dec 2011 22:35:42 +0100 Subject: [PATCH] v8: Build V8 for FreeBSD For FreeBSD the libexecinfo port needs to be installed and linked to, all tests execute and pass. %uname -a FreeBSD qt-ppa 8.2-STABLE FreeBSD 8.2-STABLE #4: Sun Oct 30 20:43:37 UTC 2011 ich@freebsd:/usr/obj/usr/src/sys/GENERIC amd64 %./tst_v8 ********* Start testing of tst_v8 ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_v8::initTestCase() PASS : tst_v8::eval() PASS : tst_v8::evalwithinwith() PASS : tst_v8::userobjectcompare() PASS : tst_v8::externalteardown() PASS : tst_v8::globalcall() PASS : tst_v8::cleanupTestCase() Totals: 7 passed, 0 failed, 0 skipped ********* Finished testing of tst_v8 ********* Change-Id: Ia8198128126c2931807c7fb872c15baad47022e1 Reviewed-by: Aaron Kennedy --- src/v8/v8.pri | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/v8/v8.pri b/src/v8/v8.pri index c3a55490a7..530b2a729a 100644 --- a/src/v8/v8.pri +++ b/src/v8/v8.pri @@ -236,6 +236,11 @@ macx { SOURCES += \ $$V8SRC/platform-macos.cc \ $$V8SRC/platform-posix.cc +} else:freebsd-* { +SOURCES += \ + $$V8SRC/platform-freebsd.cc \ + $$V8SRC/platform-posix.cc +LIBS += -lexecinfo } else:unix:!symbian { SOURCES += \ $$V8SRC/platform-linux.cc \