$OpenBSD: patch-hotspot_make_bsd_makefiles_defs_make,v 1.1 2009/01/04 23:25:16 kurt Exp $
--- hotspot/make/bsd/makefiles/defs.make.orig	Sat Aug  2 16:12:30 2008
+++ hotspot/make/bsd/makefiles/defs.make	Sat Aug  2 16:15:29 2008
@@ -79,6 +79,31 @@ ifeq ($(ARCH), x86_64) 
   endif
 endif
 
+# amd64
+ifeq ($(ARCH), amd64)
+  ARCH_DATA_MODEL = 64
+  MAKE_ARGS       += LP64=1
+  PLATFORM        = bsd-amd64
+  VM_PLATFORM     = bsd_amd64
+  HS_ARCH         = x86
+endif
+
+# i386
+ifeq ($(ARCH), i386)
+  ARCH_DATA_MODEL  = 32
+  PLATFORM         = bsd-i586
+  VM_PLATFORM      = bsd_i486
+  HS_ARCH          = x86
+endif
+
+# i486
+ifeq ($(ARCH), i486)
+  ARCH_DATA_MODEL  = 32
+  PLATFORM         = bsd-i586
+  VM_PLATFORM      = bsd_i486
+  HS_ARCH          = x86
+endif
+
 # i686
 ifeq ($(ARCH), i686)
   ARCH_DATA_MODEL  = 32
@@ -102,12 +127,4 @@ ifeq ($(ARCH_DATA_MODEL), 32)
   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so
   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so 
-  EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
-  EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar 
-else
-  ifeq ($(ARCH),ia64)
-    else
-      EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
-      EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
-    endif
 endif
