$NetBSD$ * Part of patchset to build electron on NetBSD * Based on OpenBSD's chromium patches, and FreeBSD's electron patches --- tools/grit/grit/node/base.py.orig 2025-02-24 19:59:26.000000000 +0000 +++ tools/grit/grit/node/base.py @@ -498,7 +498,8 @@ class Node: value = defs elif name == 'is_linux': - value = target_platform == 'linux' + value = (target_platform == 'linux' + or 'bsd' in target_platform) elif name == 'is_chromeos': value = target_platform == 'chromeos' elif name == 'is_macosx':