aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2014-12-09 21:45:09 +0000
committerMike McQuaid2014-12-10 17:18:58 +0000
commitc661f77cbfb96a8f1ee45e2e720d3e36f54462c6 (patch)
treea8626177d1bb1414e380482d2d291651ef9cd306 /Library
parentce0a368616ad373b72e7193c2f989ec8a4d2500b (diff)
downloadhomebrew-c661f77cbfb96a8f1ee45e2e720d3e36f54462c6.tar.bz2
haxe: make neko optional temporarily
Deals with the confusion caused by the MMOSR in Neko upstream in [this issue](https://github.com/HaxeFoundation/neko/issues/44). Closes #34838. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/haxe.rb21
1 files changed, 14 insertions, 7 deletions
diff --git a/Library/Formula/haxe.rb b/Library/Formula/haxe.rb
index 152380c32..619716cc3 100644
--- a/Library/Formula/haxe.rb
+++ b/Library/Formula/haxe.rb
@@ -1,10 +1,13 @@
-require 'formula'
+require "formula"
class Haxe < Formula
- homepage 'http://haxe.org'
- url 'https://github.com/HaxeFoundation/haxe.git', :tag => '3.1.3'
+ homepage "http://haxe.org"
- head 'https://github.com/HaxeFoundation/haxe.git', :branch => 'development'
+ stable do
+ url "https://github.com/HaxeFoundation/haxe.git", :tag => "3.1.3"
+ # Remove the below with the next stable release
+ depends_on MaximumMacOSRequirement => :mavericks
+ end
bottle do
cellar :any
@@ -13,9 +16,13 @@ class Haxe < Formula
sha1 "408dbaf0110cb38ee52900bd4910c56913681bab" => :lion
end
- depends_on 'neko' => :recommended
- depends_on 'objective-caml' => :build
- depends_on 'camlp4' => :build
+ head do
+ url "https://github.com/HaxeFoundation/haxe.git", :branch => "development"
+ end
+
+ depends_on "objective-caml" => :build
+ depends_on "camlp4" => :build
+ depends_on "neko" => :optional
def install
# Build requires targets to be built in specific order