autoconf: force use of system perl

If a non-system perl is present when autoconf is built and subsequently
removed, autoconf will break. Force the use of the system perl to
prevent this.
This commit is contained in:
Jack Nagel 2013-08-16 11:24:18 -05:00
parent e50178d3f7
commit e8f52f77b7

View file

@ -11,6 +11,8 @@ class Autoconf < Formula
end
def install
ENV['PERL'] = '/usr/bin/perl'
# force autoreconf to look for and use our glibtoolize
inreplace 'bin/autoreconf.in', 'libtoolize', 'glibtoolize'
system "./configure", "--prefix=#{prefix}"