aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ldc.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/ldc.rb b/Library/Formula/ldc.rb
index 1993cfeb5..025726ca6 100644
--- a/Library/Formula/ldc.rb
+++ b/Library/Formula/ldc.rb
@@ -2,8 +2,8 @@ require "formula"
class Ldc < Formula
homepage "http://wiki.dlang.org/LDC"
- url "https://github.com/ldc-developers/ldc/releases/download/v0.14.0/ldc-0.14.0-src.tar.gz"
- sha1 "843c9fb374bb900560f9548d5c4646788f967103"
+ url "https://github.com/ldc-developers/ldc/releases/download/v0.15.1/ldc-0.15.1-src.tar.gz"
+ sha1 "06db0c07d73bf714e6fc7a4aca4c44123e4a585a"
bottle do
sha1 "824272b3e29e1a5cdf03669099690f5c10021396" => :mavericks
@@ -11,11 +11,14 @@ class Ldc < Formula
sha1 "fc18d767e69eca7d9a7a5456a5524c7ce1cb3d29" => :lion
end
+ needs :cxx11
+
depends_on "cmake" => :build
depends_on "llvm" => :build
depends_on "libconfig"
def install
+ ENV.cxx11
mkdir "build"
cd "build" do
system "cmake", "..", *std_cmake_args