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:
parent
e50178d3f7
commit
e8f52f77b7
1 changed files with 2 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue