[Pkg-javascript-devel] Bug#670836: [PATCH 4/4] Create a kfreebsd target based on existing freebsd

steven at pyro.eu.org steven at pyro.eu.org
Sun Apr 29 13:36:57 UTC 2012


From: Steven Chamberlain <steven at kfreebsd-i386.pyro.eu.org>

A clone of the existing freebsd target, with -lpthread added and -lexecinfo removed
---
 tools/gyp/v8.gyp |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index a659782..b9b32b9 100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -673,6 +673,17 @@
                 ],
               }
             ],
+            ['OS=="kfreebsd"', {
+                'link_settings': {
+                  'libraries': [
+                    '-L/usr/local/lib -lpthread',
+                ]},
+                'sources': [
+                  '../../src/platform-freebsd.cc',
+                  '../../src/platform-posix.cc'
+                ],
+              }
+            ],
             ['OS=="openbsd"', {
                 'link_settings': {
                   'libraries': [
-- 
1.7.10






More information about the Pkg-javascript-devel mailing list