aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dpkg.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/dpkg.rb b/Library/Formula/dpkg.rb
index e1dd6b4c4..0d9ac9466 100644
--- a/Library/Formula/dpkg.rb
+++ b/Library/Formula/dpkg.rb
@@ -12,6 +12,9 @@ class Dpkg < Formula
patch :DATA
def install
+ # We need to specify a recent gnutar, otherwise various dpkg C programs will
+ # use the system 'tar', which will fail because it lacks certain switches.
+ ENV["TAR"] = Formula["gnu-tar"].opt_bin/"gtar"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-dselect",