libinfinity: add depends_on :x11

libinfinity-0.5.2 requires a dependency on :x11 so that pkg-config
can find freetype2 for cairo.   Otherwise two libinfinity libraries
will not be created, which will cause other packages that use
libinfinity to fail, like gobby.
Tested on Lion with llvm from XCode-4.3.3.

Closes Homebrew/homebrew#13416.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
nibbles 2bits 2012-07-15 16:57:26 -07:00 committed by Misty De Meo
parent f1b910c7f8
commit e616bddb3d

View file

@ -10,8 +10,10 @@ class Libinfinity < Formula
depends_on 'gtk+'
depends_on 'gnutls'
depends_on 'libgsasl'
depends_on :x11
# Reported upstream here: http://gobby.0x539.de/trac/ticket/595
# Supposedly fixed in HEAD. Test and remove at libinfinity-0.5.3.
fails_with :clang do
build 318
cause 'Non-void function should return a value'