From 499ce199ffcf4005d988b952f2f44b6eef41c87e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 30 Sep 2011 01:54:53 -0500 Subject: 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 --- Library/Formula/libebml.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library/Formula/libebml.rb') 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 -- cgit v1.2.3