From a491586c86b02da7b94b5de9ae92cf02d65e768a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 13 Nov 2014 12:08:07 -0600 Subject: imlib2: update x11 option --- Library/Formula/imlib2.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/imlib2.rb b/Library/Formula/imlib2.rb index 21f91c420..5e971f3ba 100644 --- a/Library/Formula/imlib2.rb +++ b/Library/Formula/imlib2.rb @@ -13,11 +13,11 @@ class Imlib2 < Formula sha1 "43617f8bb0c30c7de73dc5f2e07d6f1f10fd8e6c" => :mountain_lion end - option "without-x", "Build without X support" + deprecated_option "without-x" => "without-x11" depends_on 'freetype' depends_on 'libpng' => :recommended - depends_on :x11 if build.with? "x" + depends_on :x11 => :recommended depends_on 'pkg-config' => :build depends_on 'jpeg' => :recommended @@ -27,7 +27,7 @@ class Imlib2 < Formula --prefix=#{prefix} --enable-amd64=no ] - args << "--without-x" if build.without? "x" + args << "--without-x" if build.without? "x11" system "./configure", *args system "make install" -- cgit v1.2.3