summaryrefslogtreecommitdiff
path: root/net/unison-devel/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-27 10:56:57 +0000
committerjlam <jlam@pkgsrc.org>2004-01-27 10:56:57 +0000
commitf028b208a0e313faae9a7b45d4794422571d6a3c (patch)
tree5e8be84f57214e0e48d1fd27b7a2ecd03cf6c218 /net/unison-devel/patches
parent1467adfa97f58b48a2ac2b5b711f9b928c534bd6 (diff)
downloadpkgsrc-f028b208a0e313faae9a7b45d4794422571d6a3c.tar.gz
Initial import of unison-2.9.20 as net/unison-devel. This is a beta
version of unison (see pkgsrc/net/unison/DESCR) and is provided to allow synchronizing against unison servers using version 2.9.2 of the Unison protocol.
Diffstat (limited to 'net/unison-devel/patches')
-rw-r--r--net/unison-devel/patches/patch-aa31
-rw-r--r--net/unison-devel/patches/patch-ab44
2 files changed, 75 insertions, 0 deletions
diff --git a/net/unison-devel/patches/patch-aa b/net/unison-devel/patches/patch-aa
new file mode 100644
index 00000000000..88be2a4d1bf
--- /dev/null
+++ b/net/unison-devel/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/27 10:56:57 jlam Exp $
+
+--- Makefile.orig Mon Aug 19 17:15:04 2002
++++ Makefile Tue Jan 27 05:50:28 2004
+@@ -65,14 +65,12 @@
+ ######################################################################
+ # Installation
+
+-INSTALLDIR = $(HOME)/bin/
++INSTALLDIR = $(PREFIX)/bin/
+
+ install: $(NAME)$(EXEC_EXT)
+- -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
+ cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
+- cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
+- @# If we're running at Penn, install a public version too
+- if [ -d /plclub/bin ]; then cp $(NAME)$(EXEC_EXT) /plclub/bin/$(NAME)-$(VERSION)$(EXEC_EXT); fi
++#HF# @# If we're running at Penn, install a public version too
++#HF# if [ -d /plclub/bin ]; then cp $(NAME)$(EXEC_EXT) /plclub/bin/$(NAME)-$(VERSION)$(EXEC_EXT); fi
+
+
+ ######################################################################
+@@ -234,7 +232,7 @@
+ tags:
+ -$(ETAGS) *.mli */*.mli *.ml */*.ml *.txt
+
+-all:: TAGS
++# all:: TAGS
+
+ TAGS:
+ $(MAKE) tags
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