summaryrefslogtreecommitdiff
path: root/net/unison-devel/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/unison-devel/patches/patch-ab')
-rw-r--r--net/unison-devel/patches/patch-ab44
1 files changed, 44 insertions, 0 deletions
diff --git a/net/unison-devel/patches/patch-ab b/net/unison-devel/patches/patch-ab
new file mode 100644
index 00000000000..2375293f6f2
--- /dev/null
+++ b/net/unison-devel/patches/patch-ab
@@ -0,0 +1,44 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/27 10:56:57 jlam Exp $
+
+--- Makefile.OCaml.orig Mon Aug 19 17:15:04 2002
++++ Makefile.OCaml Tue Jan 27 05:51:03 2004
+@@ -45,7 +45,7 @@
+ ifeq ($(shell uname),Darwin)
+ OSARCH=osx
+ else
+- OSARCH=linux
++ OSARCH=bsd
+ endif
+ endif
+ ETAGS=etags
+@@ -178,7 +178,7 @@
+ ifeq ($(OSARCH), win32gnuc)
+ GUILIBDIR=$(OCAMLLIBDIR)/lablgtk/cclibs
+ endif
+-ifeq ($(OSARCH), linux)
++ifeq ($(OSARCH), bsd)
+ X11LIBDIR=/usr/X11R6/lib
+ endif
+ ifeq ($(OSARCH), osx)
+@@ -267,7 +267,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
+ ifeq ($(OSARCH), osx)
+@@ -304,9 +304,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