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 Homebrew/homebrew#29074. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
f7fd6dba41
commit
94f3a3c743
1 changed files with 3 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue