From c83d330ba03b13fca3e2007b0f3ca7778ea75083 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 16 Aug 2013 11:24:18 -0500 Subject: 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. --- Library/Formula/autoconf.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') diff --git a/Library/Formula/autoconf.rb b/Library/Formula/autoconf.rb index f70a5ee16..5bcadb143 100644 --- a/Library/Formula/autoconf.rb +++ b/Library/Formula/autoconf.rb @@ -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}" -- cgit v1.2.3