aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ffmpeg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ffmpeg.rb')
-rw-r--r--Library/Formula/ffmpeg.rb2
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?