Skip to content

Commit

Permalink
yaml-cpp 0.5.3
Browse files Browse the repository at this point in the history
Require boost "c++11" option only if < :mavericks.

Closes Homebrew#48701.

Signed-off-by: Andrew Janke <[email protected]>
  • Loading branch information
gicmo authored and apjanke committed Feb 2, 2016
1 parent aa06744 commit 24be2a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Library/Formula/yaml-cpp.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class YamlCpp < Formula
desc "C++ YAML parser and emitter for YAML 1.2 spec"
homepage "https://github.com/jbeder/yaml-cpp"
url "https://github.com/jbeder/yaml-cpp/archive/release-0.5.2.tar.gz"
sha256 "6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350"
url "https://github.com/jbeder/yaml-cpp/archive/release-0.5.3.tar.gz"
sha256 "ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f"

bottle do
cellar :any
Expand All @@ -18,7 +18,7 @@ class YamlCpp < Formula

depends_on "cmake" => :build

if build.cxx11?
if build.cxx11? && MacOS.version < :mavericks
depends_on "boost" => "c++11"
else
depends_on "boost"
Expand Down

0 comments on commit 24be2a3

Please sign in to comment.