diff options
| author | Jack Nagel | 2014-05-10 17:54:26 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-05-10 17:55:44 -0500 | 
| commit | 6d788d1a2aad3a48a2210c2100e15eb075d479d2 (patch) | |
| tree | 8435034d882a3d6435846fb157e5d77b0183b3d4 /Library/Formula | |
| parent | 1e0f3e81914658952789c9d0251b05153cdf3a0c (diff) | |
| download | homebrew-6d788d1a2aad3a48a2210c2100e15eb075d479d2.tar.bz2 | |
ffmpeg: set GIT_DIR so head builds can determine the version
Fixes #29118.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index 4bbff15bb..6b4f6bfb3 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -110,6 +110,8 @@ class Ffmpeg < Formula      # http://trac.macports.org/ticket/20938#comment:22      ENV.append_to_cflags "-mdynamic-no-pic" if Hardware.is_32_bit? && Hardware::CPU.intel? && ENV.compiler == :clang +    ENV["GIT_DIR"] = cached_download/".git" if build.head? +      system "./configure", *args      if MacOS.prefer_64_bit?  | 
