From 44c44b01043f690555df2c9dd36027c92d1f8742 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Sat, 23 Jan 2010 18:02:53 +0000
Subject: [PATCH] For Solaris, detect which OS version we're building on and
 choose the default OS name for the tarballs.

---
 tools/make-dist.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/make-dist.sh b/tools/make-dist.sh
index 6b01fa6ac..3dd1d7e5b 100755
--- a/tools/make-dist.sh
+++ b/tools/make-dist.sh
@@ -37,7 +37,11 @@ def_arch_os () {
     case `uname -s` in
       SunOS)
 	  ARCH=sparcv9
-	  OS=solaris8
+	  case `uname -r` in
+	    5.10) OS=solaris10 ;;
+	    5.9) OS=solaris9 ;;
+	    5.8) OS=solaris8 ;;
+	  esac
 	  ;;
       Linux)
 	  ARCH=x86
-- 
GitLab