aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sl.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/sl.rb b/Library/Formula/sl.rb
index e168fcd89..4bd978bb5 100644
--- a/Library/Formula/sl.rb
+++ b/Library/Formula/sl.rb
@@ -7,6 +7,11 @@ class Sl < Formula
md5 'd0d997b964bb3478f7f4968eee13c698'
def install
+ inreplace 'Makefile' do |s|
+ s.change_make_var! 'CC', ENV.cc
+ s.change_make_var! 'CFLAGS', ENV.cflags
+ end
+
system "make"
bin.install "sl"
man1.install "sl.1"