$NetBSD: patch-aa,v 1.2 2009/04/28 11:57:54 hasso Exp $

--- Makefile.orig	2008-11-21 15:54:03.000000000 -0500
+++ Makefile
@@ -1,6 +1,15 @@
 include Makefile.config
 
 SYSTEM = $(shell uname -s)
+ifeq ($(SYSTEM),Linux)
+  SYSTEM = UNIX
+endif
+ifeq ($(SYSTEM),NetBSD)
+  SYSTEM = UNIX
+endif
+ifeq ($(SYSTEM),DragonFly)
+ SYSTEM = UNIX
+endif
 
 # Special case for Mac OS X: everything is handled from the Xcode project
 
@@ -68,9 +74,9 @@ cli-snapshot-release:
 endif
 
 #
-# Linux
+# UNIX
 #
-ifeq ($(SYSTEM),Linux)
+ifeq ($(SYSTEM),UNIX)
 
 snapshot: unstable-libhb/hbversion.h all
 
