aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2014-11-20 22:42:03 +0000
committerJack Nagel2014-11-21 01:08:49 -0600
commit45a2912a1b809fc9086f6b7962c91f94b6261cae (patch)
treef0ab10ed9b9cdcc3eb743367a505dc9d7ddf108c /Library/Formula
parenta4a5bc7a27a4f944170f1c7ed234c199cc69c194 (diff)
downloadhomebrew-45a2912a1b809fc9086f6b7962c91f94b6261cae.tar.bz2
neko: system openssl fix
One of the MySql libraries in Neko is using the system OpenSSL. This pulls it onto using our OpenSSL instead. Closes #34355. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/neko.rb39
1 files changed, 22 insertions, 17 deletions
diff --git a/Library/Formula/neko.rb b/Library/Formula/neko.rb
index f64e79716..bb9f185c4 100644
--- a/Library/Formula/neko.rb
+++ b/Library/Formula/neko.rb
@@ -1,15 +1,19 @@
-require 'formula'
+require "formula"
class Neko < Formula
- homepage 'http://nekovm.org'
-
- # revision includes recent parameterized build targets for mac. Use a :tag
- # on the next release
- url 'https://github.com/HaxeFoundation/neko.git', :revision => '6ab8f48a8dc62e4d917b599b3d8c8e10f764f839'
-
- version '2.0.0-6ab8f48'
-
- head 'https://github.com/HaxeFoundation/neko.git'
+ homepage "http://nekovm.org"
+ head "https://github.com/HaxeFoundation/neko.git"
+ revision 1
+
+ stable do
+ # revision includes recent parameterized build targets for mac. Use a :tag
+ # on the next release
+ url "https://github.com/HaxeFoundation/neko.git", :revision => "6ab8f48a8dc62e4d917b599b3d8c8e10f764f839"
+ version "2.0.0-6ab8f48"
+
+ # Revisit with each stable release. Could be a while though.
+ depends_on MaximumMacOSRequirement => :mavericks
+ end
bottle do
cellar :any
@@ -18,17 +22,18 @@ class Neko < Formula
sha1 "77daff389d401d6764d1082ecc3448afbe27fccd" => :lion
end
- depends_on 'bdw-gc'
- depends_on 'pcre'
+ depends_on "bdw-gc"
+ depends_on "pcre"
+ depends_on "openssl"
def install
# Build requires targets to be built in specific order
ENV.deparallelize
system "make", "os=osx", "LIB_PREFIX=#{HOMEBREW_PREFIX}", "INSTALL_FLAGS="
- include.install Dir['vm/neko*.h']
- neko = lib/'neko'
- neko.install Dir['bin/*']
+ include.install Dir["vm/neko*.h"]
+ neko = lib/"neko"
+ neko.install Dir["bin/*"]
# Symlink into bin so libneko.dylib resolves correctly for custom prefix
%w(neko nekoc nekoml nekotools).each do |file|
@@ -43,8 +48,8 @@ class Neko < Formula
end
def caveats
- s = ''
- if HOMEBREW_PREFIX.to_s != '/usr/local'
+ s = ""
+ if HOMEBREW_PREFIX.to_s != "/usr/local"
s << <<-EOS.undent
You must add the following line to your .bashrc or equivalent:
export NEKOPATH="#{HOMEBREW_PREFIX}/lib/neko"