diff options
| author | Jack Nagel | 2012-04-15 22:36:32 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-15 22:36:32 -0500 |
| commit | 4774eaf93d9f325f6cd38628ead67ed5062940a6 (patch) | |
| tree | 02d1df30bc45e5162cf569d8dffe7f917b2656a6 /Library | |
| parent | e39fdd0e377c32f853dc0488023914aa9deecee3 (diff) | |
| download | homebrew-4774eaf93d9f325f6cd38628ead67ed5062940a6.tar.bz2 | |
redis: fix HEAD build
redis trunk doesn't propagate CC to the Lua build correctly, so just
pass it on the command-line because I'm lazy.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/redis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index 22512a2ee..6adbb8619 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -18,7 +18,7 @@ class Redis < Formula # Head and stable have different code layouts src = (buildpath/'src/Makefile').exist? ? buildpath/'src' : buildpath - system "make -C #{src}" + system "make", "-C", src, "CC=#{ENV.cc}" %w[benchmark cli server check-dump check-aof].each { |p| bin.install src/"redis-#{p}" } %w[run db/redis log].each { |p| (var+p).mkpath } |
