From 7aa38b5d0303ba711c0b4f1c22c7dcfec5eceb9d Mon Sep 17 00:00:00 2001
From: Max Howell <mxcl@me.com>
Date: Sun, 23 Sep 2012 20:38:16 -0400
Subject: [PATCH] Always unpack the source tarball, not the bottle

---
 Library/Contributions/cmds/brew-unpack.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Library/Contributions/cmds/brew-unpack.rb b/Library/Contributions/cmds/brew-unpack.rb
index cee1d0ba30..86bab4eb57 100755
--- a/Library/Contributions/cmds/brew-unpack.rb
+++ b/Library/Contributions/cmds/brew-unpack.rb
@@ -23,6 +23,9 @@ module ScriptDataReader
   end
 end
 
+# otherwise we may unpack bottles
+ENV['HOMEBREW_BUILD_FROM_SOURCE'] = '1'
+
 # Need to tweak the Formula class slightly so that patching is option and `DATA`
 # patches work correctly.
 class Formula
-- 
GitLab