diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cairomm.rb | 5 |
1 files 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? |
