diff options
| author | Andy Li | 2014-03-29 23:42:12 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-31 10:50:15 -0500 |
| commit | 94cb4b8de08c6d7b3ebea48edad6d544235c66a9 (patch) | |
| tree | 1f7193d2c34443ab93cdf5b303d6b58a9adc3401 /Library/Formula | |
| parent | 9dd80c22788b998ca1295196fa4db81ea9baa748 (diff) | |
| download | homebrew-94cb4b8de08c6d7b3ebea48edad6d544235c66a9.tar.bz2 | |
haxe 3.1.2
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/haxe.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/haxe.rb b/Library/Formula/haxe.rb index 200b223e7..13a047d84 100644 --- a/Library/Formula/haxe.rb +++ b/Library/Formula/haxe.rb @@ -2,7 +2,7 @@ require 'formula' class Haxe < Formula homepage 'http://haxe.org' - url 'https://github.com/HaxeFoundation/haxe.git', :tag => 'v3.1.1' + url 'https://github.com/HaxeFoundation/haxe.git', :tag => '3.1.2' head 'https://github.com/HaxeFoundation/haxe.git', :branch => 'development' @@ -22,6 +22,11 @@ class Haxe < Formula system "make" bin.mkpath system "make", "install", "INSTALL_BIN_DIR=#{bin}", "INSTALL_LIB_DIR=#{lib}/haxe" + + # Replace the absolute symlink by a relative one, + # such that binary package created by homebrew will work in non-/usr/local locations. + rm bin/"haxe" + bin.install_symlink lib/"haxe/haxe" end test do |
