No need for kdelibs to depend on libpng.

This commit is contained in:
Mike McQuaid 2011-04-08 20:33:56 +01:00
parent 6e34dcb9b1
commit 8f61c3367d

View file

@ -11,7 +11,6 @@ class Kdelibs < Formula
depends_on 'pcre'
depends_on 'jpeg'
depends_on 'giflib'
depends_on 'libpng' unless File.exist? "/usr/X11R6/lib"
depends_on 'strigi'
depends_on 'soprano'
depends_on 'shared-desktop-ontologies'
@ -29,6 +28,7 @@ class Kdelibs < Formula
end
def install
ENV.x11
gettext_prefix = Formula.factory('gettext').prefix
docbook_prefix = Formula.factory('docbook').prefix
docbook_dtd = "#{docbook_prefix}/docbook/xml/4.5"