diff options
| author | Adam Vandenberg | 2012-09-03 13:32:27 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-03 13:45:34 -0700 |
| commit | d54a99480c33db05bc3dd51ad0ee6b9d3bd7e388 (patch) | |
| tree | 29f5dbc58b28396193c3ab06be4e652b961cd6c1 | |
| parent | e035e94266f433525a79a0cb0decf4fb7f6abca1 (diff) | |
| download | homebrew-d54a99480c33db05bc3dd51ad0ee6b9d3bd7e388.tar.bz2 | |
gnu-smalltalk: use new dsl
| -rw-r--r-- | Library/Formula/gnu-smalltalk.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb index 4dd587566..281ec2df8 100644 --- a/Library/Formula/gnu-smalltalk.rb +++ b/Library/Formula/gnu-smalltalk.rb @@ -17,15 +17,15 @@ class GnuSmalltalk < Formula head 'https://github.com/bonzini/smalltalk.git' - if ARGV.build_head? + if build.head? depends_on :automake depends_on :libtool end depends_on 'pkg-config' => :build depends_on 'readline' - depends_on 'libffi' if ARGV.build_head? - depends_on 'libsigsegv' if ARGV.build_head? + depends_on 'libffi' if build.head? + depends_on 'libsigsegv' if build.head? fails_with :llvm do build 2334 @@ -39,7 +39,7 @@ class GnuSmalltalk < Formula # More information here: # http://www.eighty-twenty.org/index.cgi/tech/smalltalk/building-gnu-smalltalk-20110926.html - DATA if ARGV.build_head? + DATA if build.head? end def install @@ -48,7 +48,7 @@ class GnuSmalltalk < Formula system "ln -s /usr/bin/awk #{buildpath}/gawk" ENV['AWK'] = "#{buildpath}/gawk" - if ARGV.build_head? + if build.head? ENV.m32 unless MacOS.prefer_64_bit? system "autoreconf -fi" @@ -76,7 +76,7 @@ class GnuSmalltalk < Formula "--with-readline=#{Formula.factory("readline").lib}"] # disable generational gc to build HEAD in 32-bit - args << "--disable-generational-gc" if ARGV.build_head? and not MacOS.prefer_64_bit? + args << "--disable-generational-gc" if build.head? and not MacOS.prefer_64_bit? system "./configure", *args system "make" |
