$NetBSD$

--- tools/build/v2/tools/builtin.py.orig	2014-06-02 10:26:03.000000000 +0000
+++ tools/build/v2/tools/builtin.py
@@ -103,6 +103,7 @@ def default_host_os():
         elif host_os == 'MACOSX': host_os = 'darwin'
         elif host_os == 'KFREEBSD': host_os = 'freebsd'
         elif host_os == 'LINUX': host_os = 'linux'
+        elif host_os == 'HAIKU': host_os = 'haiku'
         else: host_os = 'unix'
     return host_os.lower()
 

a0e2e45885ceb09c026661dcf059cdb41abb65e2
$NetBSD$

--- tools/build/v2/tools/builtin.py.orig	2014-06-02 10:26:03.000000000 +0000
+++ tools/build/v2/tools/builtin.py
@@ -103,6 +103,7 @@ def default_host_os():
         elif host_os == 'MACOSX': host_os = 'darwin'
         elif host_os == 'KFREEBSD': host_os = 'freebsd'
         elif host_os == 'LINUX': host_os = 'linux'
+        elif host_os == 'HAIKU': host_os = 'haiku'
         else: host_os = 'unix'
     return host_os.lower()
 
