aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-11-13 12:08:06 -0600
committerJack Nagel2014-11-13 12:08:06 -0600
commit181a11e73d3d3bac3df057320637e14396be6d23 (patch)
tree3271d5b11a8982036d2d28b87361c0028f2086d0 /Library/Formula
parent67f705deeddbc0f727307160ff8dc9f2101f96f1 (diff)
downloadhomebrew-181a11e73d3d3bac3df057320637e14396be6d23.tar.bz2
cogl: update x11 option
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cogl.rb6
1 files changed, 3 insertions, 3 deletions
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