blob: cf2a5c1dc1e2f11d25756da8605d15b17eb905f3 (
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
|
require 'formula'
class OMake <Formula
url 'http://omake.metaprl.org/downloads/omake-0.9.8.5-3.tar.gz'
homepage 'http://omake.metaprl.org/'
md5 'd114b3c4201808aacd73ec1a98965c47'
depends_on 'objective-caml'
def patches
# removes reference to missing caml_sync in OS X OCaml
DATA
end
def install
system "make install PREFIX=#{prefix}"
end
end
__END__
diff --git a/src/exec/omake_exec.ml b/src/exec/omake_exec.ml
index 8c034b5..7e40b35 100644
--- a/src/exec/omake_exec.ml
+++ b/src/exec/omake_exec.ml
@@ -46,8 +46,6 @@ open Omake_exec_notify
open Omake_options
open Omake_command_type
-external sync : unit -> unit = "caml_sync"
-
module Exec =
struct
(*
|