$OpenBSD: patch-db1-ast_Makefile,v 1.3 2006/09/24 21:09:26 jolan Exp $
--- db1-ast/Makefile.orig	Sun Apr 30 09:27:56 2006
+++ db1-ast/Makefile	Tue Sep 19 14:26:50 2006
@@ -8,9 +8,11 @@ else
 SOVER=2
 endif
 #Added support for UltraSparc - Belgarath
+ifneq ($(OSTYPE),OpenBSD)
 ifeq ($(ARCH),sparc64)
 PROC=ultrasparc
 CFLAGS += -mtune=$(PROC) -pipe -fomit-frame-pointer -mcpu=v8
+endif
 endif
 
 LIBDBSO=libdb.so.$(SOVER)
