summaryrefslogtreecommitdiff
path: root/inputmethod/mozc-server/patches/patch-protobuf_protobuf.gyp
blob: 40c79dbfde4b6c39ca218f87c662f86760cf91bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-protobuf_protobuf.gyp,v 1.4 2014/06/15 13:08:34 ryoon Exp $

--- protobuf/protobuf.gyp.orig	2014-05-21 10:49:57.000000000 +0000
+++ protobuf/protobuf.gyp
@@ -211,7 +211,7 @@
         '<(protobuf_root)/src',
       ],
       'conditions': [
-        ['OS=="linux"', {
+        ['OS=="linux" or OS=="netbsd"', {
           'conditions': [
             ['use_libprotobuf!=1', {
               'cflags': [
@@ -247,7 +247,7 @@
       },
       'conditions': [
         # use system-installed protoc on Linux
-        ['OS!="linux"', {
+        ['OS!="linux" and OS!="netbsd"', {
           'includes' : [
             '../gyp/install_build_tool.gypi',
           ],