sl: respect Homebrew environment variables

Kind of pointless for something so simple, but I was using the sl
formula to test something and noticed it so here it is.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2011-10-04 20:47:41 -05:00
parent 96538a4f86
commit 2a3df5c221
1 changed files with 5 additions and 0 deletions

View File

@ -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"