$NetBSD: patch-ab,v 1.5 2008/07/25 20:03:03 tonio Exp $

--- Makefile.OCaml.orig	2007-05-07 17:42:29.000000000 +0200
+++ Makefile.OCaml
@@ -29,6 +29,10 @@ ifeq ($(shell uname),Darwin)
 else
 ifeq ($(shell uname),OpenBSD)
   OSARCH=OpenBSD
+else
+ifeq ($(shell uname),NetBSD)
+  OSARCH=NetBSD
+endif
 endif
 endif
 endif
@@ -261,6 +265,10 @@ else
   endif
 endif
 
+ifeq ($(OSARCH), NetBSD)
+  OCAMLDOT=false
+endif
+
 # Rebuild dependencies (must be invoked manually)
 .PHONY: depend
 depend::
