$NetBSD: patch-ab,v 1.4 2005/09/27 14:46:08 tonio Exp $

--- Makefile.OCaml.orig	2005-06-27 19:38:25.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
@@ -242,6 +249,10 @@ else
   endif
 endif
 
+ifeq ($(OSARCH), NetBSD)
+  OCAMLDOT=false
+endif
+
 # Rebuild dependencies (must be invoked manually)
 .PHONY: depend
 depend::
