aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-08-16 11:24:26 -0500
committerJack Nagel2013-08-16 11:26:03 -0500
commitbf3dea328e00bdfa98725d212dfe8baedae7f78a (patch)
tree302c9dfa83c1ef213579bb8bc7e0cd1a44f86ac2 /Library
parentc83d330ba03b13fca3e2007b0f3ca7778ea75083 (diff)
downloadhomebrew-bf3dea328e00bdfa98725d212dfe8baedae7f78a.tar.bz2
automake: force use of system perl
If a non-system perl is present when automake is built and subsequently removed, automake will break. Force the use of the system perl to prevent this.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/automake.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/automake.rb b/Library/Formula/automake.rb
index 7ab3e736a..535efa620 100644
--- a/Library/Formula/automake.rb
+++ b/Library/Formula/automake.rb
@@ -14,6 +14,8 @@ class Automake < Formula
end
def install
+ ENV['PERL'] = '/usr/bin/perl'
+
system "./configure", "--prefix=#{prefix}"
system "make install"