aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mldonkey.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/mldonkey.rb b/Library/Formula/mldonkey.rb
index d02ad9f7b..2a369c271 100644
--- a/Library/Formula/mldonkey.rb
+++ b/Library/Formula/mldonkey.rb
@@ -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