From 998de4f0ad659ef64902f5af1beffa325eefeb66 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 9 Oct 2017 02:47:15 +0300 Subject: [PATCH] Provide default value for spellchecker_use_hunspell and add "freebsd" case. --- binding.gyp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/binding.gyp b/binding.gyp index bfb0fa4..3c76df4 100644 --- a/binding.gyp +++ b/binding.gyp @@ -1,15 +1,12 @@ { 'variables': { 'conditions': [ - ['OS=="mac"', { - 'spellchecker_use_hunspell%': 'true', - }], - ['OS=="linux"', { - 'spellchecker_use_hunspell': 'true', - }], - ['OS=="win"', { - 'spellchecker_use_hunspell': 'true', - }], + ['OS=="mac"', { 'spellchecker_use_hunspell%': 'true' }, + 'OS=="linux"', { 'spellchecker_use_hunspell': 'true'}, + 'OS=="win"', { 'spellchecker_use_hunspell': 'true' }, + 'OS=="freebsd"', { 'spellchecker_use_hunspell': 'true' }, + { 'spellchecker_use_hunspell': 'false' } + ], ], }, 'target_defaults': {