From b01eaa22924117ea2a5586bbda5ff073ca80ca1e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 13 Nov 2014 12:08:06 -0600 Subject: cairomm: update x11 option --- Library/Formula/cairomm.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Formula/cairomm.rb b/Library/Formula/cairomm.rb index 69de521e2..b79600bda 100644 --- a/Library/Formula/cairomm.rb +++ b/Library/Formula/cairomm.rb @@ -13,9 +13,10 @@ class Cairomm < Formula sha1 "3247ebe37140dc109465dcfc7b5df6d948690091" => :mountain_lion end - option 'without-x', 'Build without X11 support' option :cxx11 + deprecated_option "without-x" => "without-x11" + depends_on 'pkg-config' => :build if build.cxx11? depends_on 'libsigc++' => 'c++11' @@ -25,7 +26,7 @@ class Cairomm < Formula depends_on 'cairo' depends_on 'libpng' - depends_on :x11 if build.with? "x" + depends_on :x11 => :recommended def install ENV.cxx11 if build.cxx11? -- cgit v1.2.3