aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2015-01-15 23:21:11 -0500
committerJack Nagel2015-01-16 00:04:33 -0500
commit178763c5f0c7b9b0000baff7c5bdab681fbeab13 (patch)
tree34961ec7701c43dd669a7f209a09c053fba6261a /Library/Formula
parent28d1b4b6f77ab77107d2a83c81945a07316da2db (diff)
downloadhomebrew-178763c5f0c7b9b0000baff7c5bdab681fbeab13.tar.bz2
ocaml: get rid of site-lib symlink shenanigans
This hack probably should have been removed at e995ddde8e8186f8fd9651f3d6fe69546544692e.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/objective-caml.rb14
1 files changed, 1 insertions, 13 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
index e6fee09aa..821aa1bd5 100644
--- a/Library/Formula/objective-caml.rb
+++ b/Library/Formula/objective-caml.rb
@@ -1,20 +1,15 @@
-require "formula"
-
class ObjectiveCaml < Formula
homepage "http://ocaml.org"
url "http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.1.tar.gz"
sha1 "6af8c67f2badece81d8e1d1ce70568a16e42313e"
+ revision 2
head "http://caml.inria.fr/svn/ocaml/trunk", :using => :svn
- revision 1
option "with-x11", "Install with the Graphics module"
depends_on :x11 => :optional
bottle do
- sha1 "9a734836f27712fbd3a454152100fcd696932bf8" => :yosemite
- sha1 "4d80628d7bea7d38888dd3ceb4fb1393613ccea1" => :mavericks
- sha1 "625826bbc9c7fc5b082abbe59b099f17032a3a00" => :mountain_lion
end
def install
@@ -33,12 +28,5 @@ class ObjectiveCaml < Formula
system "make", "opt"
system "make", "opt.opt"
system "make", "PREFIX=#{prefix}", "install"
- (lib/"ocaml/site-lib").mkpath
- end
-
- def post_install
- # 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
- (lib/"ocaml").install_symlink HOMEBREW_PREFIX/"lib/ocaml/site-lib"
end
end