diff options
| author | nibbles 2bits | 2012-06-28 23:14:21 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-29 09:36:56 -0700 |
| commit | 55155cecef78bb7631ceea88c2ca468249a8438c (patch) | |
| tree | 55a43e1384bfe2dd3b35024458750b964c3b7ea6 | |
| parent | 902b89f94969fe509634897baa91e98480a38918 (diff) | |
| download | homebrew-55155cecef78bb7631ceea88c2ca468249a8438c.tar.bz2 | |
rakudo-star 2012.05
Upgrade rakudo-star to version 2012.05.
Adjust `CPPFLAGS` to correctly locate the libffi includes.
Add `ENV.j1` to stop intermittent race conditions when compiling.
Add code to move the man pages into share because there's no
configure option for that.
Tested on Lion using clang and llvm from XCode-4.3.3.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/rakudo-star.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Library/Formula/rakudo-star.rb b/Library/Formula/rakudo-star.rb index 14fba61ac..61c3021ec 100644 --- a/Library/Formula/rakudo-star.rb +++ b/Library/Formula/rakudo-star.rb @@ -2,17 +2,25 @@ require 'formula' class RakudoStar < Formula homepage 'http://rakudo.org/' - url 'https://github.com/downloads/rakudo/star/rakudo-star-2012.01.tar.gz' - sha256 '2bfa055c6d3b6060917fb45561d1346fef518912aaf69af361f54dd3f9ec903c' + url 'https://github.com/downloads/rakudo/star/rakudo-star-2012.05.tar.gz' + sha256 '4bb1cee56e28e2c26948eefe1ae141373191b9b8cff334baa5aa295382e02b9a' depends_on 'gmp' => :optional depends_on 'icu4c' => :optional depends_on 'pcre' => :optional + depends_on 'libffi' def install + libffi = Formula.factory("libffi") + ENV.remove 'CPPFLAGS', "-I#{libffi.include}" + ENV.prepend 'CPPFLAGS', "-I#{libffi.lib}/libffi-3.0.11/include" + + ENV.j1 # An intermittent race condition causes random build failures. system "perl", "Configure.pl", "--prefix=#{prefix}", "--gen-parrot" system "make" system "make install" + # move the man pages out of the top level into share. + mv "#{prefix}/man", share end def caveats; <<-EOS |
