summaryrefslogtreecommitdiff
path: root/net/unison/patches
diff options
context:
space:
mode:
authorjtb <jtb>2003-06-29 23:52:03 +0000
committerjtb <jtb>2003-06-29 23:52:03 +0000
commit224a4cd3d351052abb2b637f97fbc50ce13a3846 (patch)
tree3c148061839bd2cb1e15f6743c32c07416d80e0e /net/unison/patches
parent73397ca6b0d9e558112679ccf94d601bda7c08ad (diff)
downloadpkgsrc-224a4cd3d351052abb2b637f97fbc50ce13a3846.tar.gz
Remove build time dependency on bash.
Build with posix threads if supported ocaml.
Diffstat (limited to 'net/unison/patches')
-rw-r--r--net/unison/patches/patch-ab44
1 files changed, 44 insertions, 0 deletions
diff --git a/net/unison/patches/patch-ab b/net/unison/patches/patch-ab
new file mode 100644
index 00000000000..6131a0eabe9
--- /dev/null
+++ b/net/unison/patches/patch-ab
@@ -0,0 +1,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