mldonkey: add ENV.x11

This commit is contained in:
Adam Vandenberg 2012-01-29 16:21:08 -08:00
parent 9895f763c0
commit 52f637f79e

View file

@ -6,6 +6,7 @@ class Mldonkey < Formula
md5 '072726d158ba1e936c554be341e7ceff'
depends_on 'objective-caml'
if ARGV.include? "--with-x"
depends_on 'librsvg'
depends_on 'lablgtk'
@ -19,6 +20,7 @@ class Mldonkey < Formula
args = ["--prefix=#{prefix}"]
if ARGV.include? "--with-x"
ENV.x11
args << "--enable-gui=newgui2"
end