summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third_party__libevent__libevent.gyp
blob: 842bb14d7fe92b0c7cbdd8200a37637947b60e41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- ./third_party/libevent/libevent.gyp.orig	2010-12-16 02:11:36.000000000 +0100
+++ ./third_party/libevent/libevent.gyp	2010-12-20 20:15:08.000000000 +0100
@@ -45,15 +45,18 @@
               'link_settings': {
                 'libraries': [
                   # We need rt for clock_gettime().
-                  # TODO(port) Maybe on FreeBSD as well?
                   '-lrt',
                 ],
               },
             }],
-            [ 'OS == "mac" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
+            [ 'OS == "mac" or OS == "openbsd" or OS == "solaris"', {
               'sources': [ 'kqueue.c' ],
               'include_dirs': [ 'mac' ]
             }],
+            [ 'OS == "freebsd"', {
+              'sources': [ 'kqueue.c' ],
+              'include_dirs': [ 'freebsd' ]
+            }],
           ],
         },
       ],