diff --git a/Formula/libxml2.rb b/Formula/libxml2.rb index c8d3724ab1..b61ca4d130 100644 --- a/Formula/libxml2.rb +++ b/Formula/libxml2.rb @@ -49,8 +49,7 @@ class Libxml2 < Formula depends_on "pkg-config" => :build def install - inreplace "autogen.sh", "libtoolize", "glibtoolize" - system "./autogen.sh" + system "autoreconf", "-fiv" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--without-python",