aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/parrot.rb
diff options
context:
space:
mode:
authorMax Howell2010-02-20 11:53:51 +0000
committerMax Howell2010-02-20 12:12:51 +0000
commit0634c1c7c3049558051203c6d383c59484b1577b (patch)
tree17912dd6a73e6799d76d6a2b6ebf100c62e218fd /Library/Formula/parrot.rb
parent6a18e38883d2b80da78f51d452012ce443fee7de (diff)
downloadhomebrew-0634c1c7c3049558051203c6d383c59484b1577b.tar.bz2
ENV['CXX'] is no longer set, use ENV.cxx
Diffstat (limited to 'Library/Formula/parrot.rb')
-rw-r--r--Library/Formula/parrot.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Formula/parrot.rb b/Library/Formula/parrot.rb
index 5cd8664b5..8448f86ba 100644
--- a/Library/Formula/parrot.rb
+++ b/Library/Formula/parrot.rb
@@ -9,11 +9,8 @@ class Parrot <Formula
depends_on 'pcre'
def install
- confargs = %W[--prefix=#{prefix} --debugging=0 --without-opengl]
- # the arguments Parrot tries to pass to gcc-4.2 on 10.5 don't compile
- confargs << "--cc=#{ENV['CC']}" if MACOS_VERSION >= 10.6
-
- system "perl", "Configure.pl", *confargs
+ system "perl", "Configure.pl", "--prefix=#{prefix}", "--debugging=0",
+ "--without-opengl", "--cc=#{ENV.cc}"
system "make"
system "make install"