summaryrefslogtreecommitdiff
path: root/net/unison/patches/patch-ab
blob: 090fe8f48e5b526ef58b09e3a977bfecadef35d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$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::