Skip to content

Commit

Permalink
objective-caml 4.00.1
Browse files Browse the repository at this point in the history
* remove the patch (integrated upstream)
* remove compiler-libs installation (also now standard with ocaml since 4.00.0)

Closes Homebrew#15359.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
avsm authored and MikeMcQuaid committed Oct 13, 2012
1 parent 1abff95 commit 1b514f9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Library/Formula/objective-caml.rb
Expand Up @@ -2,18 +2,13 @@

class ObjectiveCaml < Formula
homepage 'http://www.ocaml-lang.org'
url 'http://caml.inria.fr/pub/distrib/ocaml-4.00/ocaml-4.00.0.tar.bz2'
sha1 '22c0ae84c0049e75ec1577d5c1a26c293bb740b3'
url 'http://caml.inria.fr/pub/distrib/ocaml-4.00/ocaml-4.00.1.tar.bz2'
sha1 '10b8a4d0b88d20b003e3dd719f2ac9434e6a1042'

head 'http://caml.inria.fr/svn/ocaml/trunk', :using => :svn

depends_on :x11 if MacOS::X11.installed?

# See http://caml.inria.fr/mantis/view.php?id=5700
def patches
"http://caml.inria.fr/mantis/file_download.php?file_id=722&type=bug"
end

def install
system "./configure", "--prefix", HOMEBREW_PREFIX,
"--mandir", man,
Expand All @@ -24,7 +19,6 @@ def install
system "make opt"
system "make opt.opt"
system "make", "PREFIX=#{prefix}", "install"
(lib/'ocaml/compiler-libs').install 'typing', 'parsing', 'utils'

# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location,
# which is mkpath'd by Keg#link when something installs into it
Expand Down

0 comments on commit 1b514f9

Please sign in to comment.