Files
haikuports/dev-lang/rust/patches/rust-installer-1.16.0.patchset
Niels Sascha Reedijk 21294480d6 [Rust] Add recipes for 1.16.0 and 1.17.0 (#2540)
* Rust: add recipe for Rust 1.16.0

This is the first instance of the recipe where it builds cargo itself.

* Rust: add recipe for Rust 1.17.0
2018-05-08 14:28:13 -04:00

28 lines
639 B
Plaintext

From fa075bf6c5642960985621370954817e34be8f83 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