summaryrefslogtreecommitdiff
path: root/net/unison/patches/patch-ab
blob: 6131a0eabe908053e8320077f4e520234458315b (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
$NetBSD: patch-ab,v 1.1 2003/06/29 23:52:05 jtb Exp $

--- Makefile.OCaml.orig
+++ Makefile.OCaml
@@ -42,7 +42,7 @@
 ifeq ($(shell hostname),saul.cis.upenn.edu)
   OSARCH=solaris
 else
-  OSARCH=linux
+  OSARCH=bsd
 endif
   ETAGS=etags
 endif
@@ -157,7 +157,7 @@
 ifeq ($(OSARCH), win32gnuc)
   GUILIBDIR=$(OCAMLLIBDIR)/lablgtk/cclibs
 endif
-ifeq ($(OSARCH), linux)
+ifeq ($(OSARCH), bsd)
   X11LIBDIR=/usr/X11R6/lib
 endif
 
@@ -243,7 +243,7 @@
     # libcurses is not in a standard place in older Solaris releases.
     STATICLIBS+=-cclib -R/usr/xpg4/lib
   endif
-  ifeq ($(OSARCH), linux)
+  ifeq ($(OSARCH), bsd)
     STATICLIBS+=-cclib -static
   endif
   CLIBS=$(STATICLIBS)
@@ -255,9 +255,9 @@
 # Include an automatically generated list of dependencies
 include .depend
 
-ifeq ($(shell echo type -t ocamldot | bash), file)
-  OCAMLDOT=true
-endif
+#ifeq ($(shell echo type -t ocamldot | bash), file)
+  OCAMLDOT=false
+#endif
 
 # Rebuild dependencies (must be invoked manually)
 .PHONY: depend