From 656226e6b32bd9d5af2c3c371bd84a68e518db80 Mon Sep 17 00:00:00 2001
From: Niels Sascha Reedijk <niels.reedijk@gmail.com>
Date: Mon, 9 Mar 2015 22:27:02 +0100
Subject: [PATCH] Haiku: detect OS

---
 install-template.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/install-template.sh b/install-template.sh
index dcc1ee0..90afec2 100644
--- a/install-template.sh
+++ b/install-template.sh
@@ -364,6 +364,10 @@ get_host_triple() {
             _ostype=pc-windows-gnu
             ;;
 
+	Haiku*)
+            _ostype=unknown-haiku
+            ;;
+
 	*)
 	    err "unknown value from uname -s: $_uname_value"
 	    ;;
-- 
2.7.0

