From 181a11e73d3d3bac3df057320637e14396be6d23 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 13 Nov 2014 12:08:06 -0600 Subject: cogl: update x11 option --- Library/Formula/cogl.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/cogl.rb b/Library/Formula/cogl.rb index fdba73a56..27d7f98e5 100644 --- a/Library/Formula/cogl.rb +++ b/Library/Formula/cogl.rb @@ -19,13 +19,13 @@ class Cogl < Formula depends_on "libtool" => :build end - option "without-x", "Build without X11 support" + deprecated_option "without-x" => "without-x11" depends_on "pkg-config" => :build depends_on "cairo" depends_on "glib" depends_on "pango" - depends_on :x11 => "2.5.1" if build.with? "x" + depends_on :x11 => ["2.5.1", :recommended] depends_on "gobject-introspection" # Lion's grep fails, which later results in compilation failures: @@ -61,7 +61,7 @@ class Cogl < Formula --enable-cogl-pango=yes --enable-introspection=yes ] - args << "--without-x" if build.without? "x" + args << "--without-x" if build.without? "x11" system "./configure", *args system "make install" end -- cgit v1.2.3