aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-09-30 01:54:53 -0500
committerJack Nagel2011-09-30 01:56:31 -0500
commit499ce199ffcf4005d988b952f2f44b6eef41c87e (patch)
treee60f9c6fe6b35d43eb4946b68b3720d36707ffec /Library
parent9d7f762b38b0e0f16cf13af36431e4fe3c67fdc6 (diff)
downloadhomebrew-499ce199ffcf4005d988b952f2f44b6eef41c87e.tar.bz2
libebml: overhaul install method
Make it more Homebrew-like. As a bonus it now respects the value of ENV.cxx. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libebml.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/libebml.rb b/Library/Formula/libebml.rb
index 1779da9ed..8186aabd8 100644
--- a/Library/Formula/libebml.rb
+++ b/Library/Formula/libebml.rb
@@ -7,7 +7,8 @@ class Libebml < Formula
md5 '726cc2bd1a525929ff35ff9854c0ebab'
def install
- system 'cp -r make/linux make/darwin'
- system "cd make/darwin && make install prefix=#{prefix}"
+ chdir 'make/linux' do
+ system "make install prefix=#{prefix} CXX=#{ENV.cxx}"
+ end
end
end