aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmake.rb
diff options
context:
space:
mode:
authorMax Howell2009-08-07 15:41:43 +0100
committerMax Howell2009-08-10 18:11:22 +0100
commitd21205067c2a77555f51f1ab74aa75d8092c3cae (patch)
treeb402b97adf7825230523066a00296f336d541637 /Library/Formula/cmake.rb
parent6b6d3699a29359343725ad0eb1394c46a5c6406b (diff)
downloadhomebrew-d21205067c2a77555f51f1ab74aa75d8092c3cae.tar.bz2
Apply new ENV capabilities to all existing Formulae
Diffstat (limited to 'Library/Formula/cmake.rb')
-rw-r--r--Library/Formula/cmake.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index a74516fa8..1a3415c5c 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -13,10 +13,11 @@ class Cmake <Formula
"# Mention to the user what system libraries are being used.",
"SET(CMAKE_USE_SYSTEM_XMLRPC 0)"
- system "./bootstrap --prefix=#{prefix} --system-libs --datadir=/share/cmake --docdir=/share/cmake --mandir=/share/man"
+ system "./bootstrap", "--prefix=#{prefix}",
+ "--system-libs",
+ "--datadir=/share/cmake",
+ "--docdir=/share/doc/cmake",
+ "--mandir=/share/man"
system "make install"
-
- # txt sucks, welcome to 1990
- Dir["#{prefix}/share/cmake/*.txt"].each {|f| File.unlink f}
end
end \ No newline at end of file