aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/l-smash.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/l-smash.rb b/Library/Formula/l-smash.rb
index 14b4cf589..b96f64bd4 100644
--- a/Library/Formula/l-smash.rb
+++ b/Library/Formula/l-smash.rb
@@ -13,12 +13,8 @@ class LSmash < Formula
end
def install
- args = ["--prefix=#{prefix}", "--enable-shared"]
-
- # For getting version information correctly in the configure
- buildpath.install_symlink cached_download/".git"
-
- system "./configure", *args
+ ENV["GIT_DIR"] = cached_download/".git"
+ system "./configure", "--prefix=#{prefix}", "--enable-shared"
system "make", "install"
end