summaryrefslogtreecommitdiff
path: root/lang/nodejs14/patches/patch-deps_cares_cares.gyp
blob: 2be1b1b2e28d99ab5ce7005b36ffa93791a06847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-deps_cares_cares.gyp,v 1.1 2022/03/30 06:51:30 adam Exp $

Add support for NetBSD.

--- deps/cares/cares.gyp.orig	2013-03-14 10:55:24.000000000 +0900
+++ deps/cares/cares.gyp	2013-03-14 10:55:47.000000000 +0900
@@ -140,6 +140,10 @@
           'include_dirs': [ 'config/freebsd' ],
           'sources': [ 'config/freebsd/ares_config.h' ]
         }],
+        [ 'OS=="netbsd"', {
+          'include_dirs': [ 'config/netbsd' ],
+          'sources': [ 'config/netbsd/ares_config.h' ]
+        }],
         [ 'OS=="openbsd"', {
           'include_dirs': [ 'config/openbsd' ],
           'sources': [ 'config/openbsd/ares_config.h' ]