aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-08-16 11:24:18 -0500
committerJack Nagel2013-08-16 11:25:49 -0500
commitc83d330ba03b13fca3e2007b0f3ca7778ea75083 (patch)
treed71594ec2bb9bae419e4eeec2adc5b3a431c680b
parentc75347f4c39fdd3024c92e590fc9b703d3b9e262 (diff)
downloadhomebrew-c83d330ba03b13fca3e2007b0f3ca7778ea75083.tar.bz2
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.
-rw-r--r--Library/Formula/autoconf.rb2
1 files changed, 2 insertions, 0 deletions
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}"