forked from lotia/homebrew-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unison232.rb
36 lines (29 loc) · 1.06 KB
/
unison232.rb
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
require 'formula'
class Unison232 < Formula
url 'http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.32.52/unison-2.32.52.tar.gz'
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
md5 '0701f095c1721776a0454b94607eda48'
depends_on 'objective-caml'
def patches
#http://tech.groups.yahoo.com/group/unison-users/message/9348
#required for building 2.32.52 with ocamlc 3.12.x
DATA
end
def install
ENV.j1
ENV.delete "CFLAGS" # ocamlopt reads CFLAGS but doesn't understand common options
system "make ./mkProjectInfo"
system "make UISTYLE=text"
bin.install 'unison'
end
end
__END__
--- unison-2.32.52/update.mli 2009-05-02 03:31:27.000000000 +0100
+++ unison-2.32.52/update.mli 2011-11-04 20:21:11.000000000 +0000
@@ -1,7 +1,7 @@
(* Unison file synchronizer: src/update.mli *)
(* Copyright 1999-2009, Benjamin C. Pierce (see COPYING for details) *)
-module NameMap : Map.S with type key = Name.t
+module NameMap : MyMap.S with type key = Name.t
type archive =
ArchiveDir of Props.t * archive NameMap.t