$OpenBSD: patch-hotspot_make_defs_make,v 1.3 2009/01/04 23:25:16 kurt Exp $
--- hotspot/make/defs.make.orig	Thu Jul 17 03:40:27 2008
+++ hotspot/make/defs.make	Sat Aug  2 16:12:52 2008
@@ -119,13 +119,20 @@ endif
 # Windows should have OS predefined
 ifeq ($(OS),)
   OS   := $(shell uname -s)
+  ifneq ($(findstring BSD,$(OS)),)
+    OS=bsd
+  endif
   HOST := $(shell uname -n)
 endif
 
-# If not SunOS and not Linux, assume Windows
+# If not SunOS, not Linux and not BSD, assume Windows
 ifneq ($(OS), Linux)
   ifneq ($(OS), SunOS)
-    OSNAME=windows
+    ifneq ($(OS), bsd)
+      OSNAME=windows
+    else
+      OSNAME=bsd
+    endif
   else
     OSNAME=solaris
   endif
