aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-10-28 08:09:26 +0000
committerMike McQuaid2014-10-28 08:26:20 +0000
commit03ddcda6e8d73941b0fa0b742d59793cf8c484ec (patch)
tree6d65491818e73f0aaf748d1ad6d02f11f8d3c72c
parent14e4cb4c6f2714554962e31a9a8ebfc307d2260b (diff)
downloadhomebrew-03ddcda6e8d73941b0fa0b742d59793cf8c484ec.tar.bz2
objective-caml: general cleanup.
-rw-r--r--Library/Formula/objective-caml.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
index 143dad914..0778e9fa2 100644
--- a/Library/Formula/objective-caml.rb
+++ b/Library/Formula/objective-caml.rb
@@ -8,7 +8,7 @@ class ObjectiveCaml < Formula
head "http://caml.inria.fr/svn/ocaml/trunk", :using => :svn
revision 1
- option 'without-x11', 'Install without the Graphics module'
+ option "without-x11", "Install without the Graphics module"
depends_on :x11 => :optional
bottle do
@@ -25,13 +25,13 @@ class ObjectiveCaml < Formula
-with-debug-runtime
]
args << "-aspp" << "#{ENV.cc} -c"
- args << "-no-graph" if build.without?("x11")
+ args << "-no-graph" if build.without? "x11"
ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
system "./configure", *args
- system "make world"
- system "make opt"
- system "make opt.opt"
+ system "make", "world"
+ system "make", "opt"
+ system "make", "opt.opt"
system "make", "PREFIX=#{prefix}", "install"
(lib/"ocaml/site-lib").mkpath
end