Skip to content

Commit

Permalink
neko: fix HEAD build
Browse files Browse the repository at this point in the history
Patch was already applied upstream, thus only apply it to stable build.
Fixes an oversight in my review of #982.
  • Loading branch information
UniqMartin committed May 12, 2016
1 parent 6c91443 commit c512ffa
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions Formula/neko.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
class Neko < Formula
desc "High-level, dynamically typed programming language"
homepage "http://nekovm.org"
url "http://nekovm.org/media/neko-2.1.0-src.tar.gz"
sha256 "0c93d5fe96240510e2d1975ae0caa9dd8eadf70d916a868684f66a099a4acf96"

head "https://github.com/HaxeFoundation/neko.git"

stable do
url "http://nekovm.org/media/neko-2.1.0-src.tar.gz"
sha256 "0c93d5fe96240510e2d1975ae0caa9dd8eadf70d916a868684f66a099a4acf96"

patch do
# To workaround issue https://github.com/HaxeFoundation/neko/issues/130
# It is a commit already applied to the upstream.
url "https://github.com/HaxeFoundation/neko/commit/a8c71ad97faaccff6c6e9e09eba2d5efd022f8dc.patch"
sha256 "7bbdbd38f64220aa11fd1725ae99ea53f2d36563249f1828d5452562e3ca9977"
end
end

bottle do
cellar :any
sha256 "96f0c125a3269f52d691fa6fe8a9dcbfc0d71dcf949b76acd004631e28ce2d81" => :el_capitan
Expand All @@ -20,13 +30,6 @@ class Neko < Formula
depends_on "pcre"
depends_on "openssl"

patch do
# To workaround issue https://github.com/HaxeFoundation/neko/issues/130
# It is a commit already applied to the upstream.
url "https://github.com/HaxeFoundation/neko/commit/a8c71ad97faaccff6c6e9e09eba2d5efd022f8dc.patch"
sha256 "7bbdbd38f64220aa11fd1725ae99ea53f2d36563249f1828d5452562e3ca9977"
end

def install
# Let cmake download its own copy of MariaDBConnector during build and statically link it.
# It is because there is no easy way to define we just need any one of mariadb, mariadb-connector-c,
Expand Down

0 comments on commit c512ffa

Please sign in to comment.