diff options
| author | Mike McQuaid | 2012-10-13 16:11:53 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2012-10-13 16:11:53 +0100 |
| commit | 59a2f11372c302621497384f3146a4fa35c1fa0d (patch) | |
| tree | 2ed94f5a151212c91056ecfff23b02163cac842c /Library/Formula | |
| parent | 10031993926d595f3df2dc2e6660b68c3b6bbe16 (diff) | |
| download | homebrew-59a2f11372c302621497384f3146a4fa35c1fa0d.tar.bz2 | |
imlib2: default to X11 support on.
References #15325, #15390.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/imlib2.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/imlib2.rb b/Library/Formula/imlib2.rb index 3941f06c0..7e8b4d310 100644 --- a/Library/Formula/imlib2.rb +++ b/Library/Formula/imlib2.rb @@ -5,11 +5,11 @@ class Imlib2 < Formula url 'http://downloads.sourceforge.net/project/enlightenment/imlib2-src/1.4.5/imlib2-1.4.5.tar.bz2' sha1 'af86a2c38f4bc3806db57e64e74dc9814ad474a0' - option "with-x", "Build with X support" + option "without-x", "Build without X support" depends_on :freetype depends_on :libpng => :recommended - depends_on :x11 if MacOS::X11.installed? or build.include? "with-x" + depends_on :x11 if MacOS::X11.installed? or not build.include? "without-x" depends_on 'pkg-config' => :build depends_on 'jpeg' => :recommended @@ -19,7 +19,7 @@ class Imlib2 < Formula --prefix=#{prefix} --enable-amd64=no ] - args << "--without-x" unless build.include? "with-x" + args << "--without-x" if build.include? "without-x" system "./configure", *args system "make install" |
