diff options
| author | Drew Fisher | 2014-05-08 17:09:44 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-05-08 20:00:31 -0700 |
| commit | 9900aece5d5295d2d976bb1f81591c9061080a33 (patch) | |
| tree | 6b2fa76fddcb7a3b0f412f1039f69da3f719c32f /Library | |
| parent | a7a148a4f60ea813ed1f5da51e81be0ab44fcb49 (diff) | |
| download | homebrew-9900aece5d5295d2d976bb1f81591c9061080a33.tar.bz2 | |
dpkg: use homebrew gtar in C programs
dpkg will call tar with options like --warning=no-timestamp, which OSX's
tar does not support. We should specify TAR=gtar to ./configure so
things like dpkg-scanpackages use the correct tar.
Signed-off-by: Drew Fisher <zarvox@zarvox.org>
Closes #29074.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/dpkg.rb | 3 |
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", |
