From aef9a1792de4648d0322b4b04d32287532f046bb Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Wed, 13 Aug 2014 23:14:37 -0700 Subject: [PATCH] gnu-tar: patch configure, don't autoreconf --- Formula/gnu-tar.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Formula/gnu-tar.rb b/Formula/gnu-tar.rb index 63429c3d5e..88716a07db 100644 --- a/Formula/gnu-tar.rb +++ b/Formula/gnu-tar.rb @@ -12,23 +12,17 @@ class GnuTar < Formula sha1 "8f68e3ef6195270056223f15b011d7249684480d" => :lion end - # autoconf/automake can be removed when the patch is merged upstream. - depends_on "autoconf" => :build - depends_on "automake" => :build - # Fix for xattrs bug causing build failures on OS X: # https://lists.gnu.org/archive/html/bug-tar/2014-08/msg00001.html patch :p1 do - url "https://raw.githubusercontent.com/DomT4/patch-mayhem/master/0001-xattrs-fix-bug-in-configure.patch" - sha1 "d8d9f9f5862fa1c1468a914e609daaf57accf3d2" + url "https://gist.githubusercontent.com/mistydemeo/10fbae8b8441359ba86d/raw/e5c183b72036821856f9e82b46fba6185e10e8b9/gnutar-configure-xattrs.patch" + sha1 "55d570de077eb1dd30b1e499484f28636fbda882" end def install args = ["--prefix=#{prefix}", "--mandir=#{man}"] args << "--program-prefix=g" - # autoreconf can be removed when the patch is merged upstream. - system "autoreconf" system "./configure", *args system "make", "install"