diff options
| author | Jack Nagel | 2014-11-13 12:08:06 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-13 12:08:06 -0600 |
| commit | b01eaa22924117ea2a5586bbda5ff073ca80ca1e (patch) | |
| tree | 274c7af901721a6c59accf87b9d13d4ad7761bfd /Library | |
| parent | 231dc7535f6564a56076f981e8c8f990785df8e1 (diff) | |
| download | homebrew-b01eaa22924117ea2a5586bbda5ff073ca80ca1e.tar.bz2 | |
cairomm: update x11 option
Diffstat (limited to 'Library')
| -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? |
