aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-29 16:21:08 -0800
committerAdam Vandenberg2012-01-29 16:21:21 -0800
commit4989457471be4130d21116fc4f5abb7e225b9ef4 (patch)
tree1423dfcda23cde84798239d1541f2f29559296f7 /Library/Formula
parentbe18671765745d28fa29be91f1e39aa91eb36f30 (diff)
downloadhomebrew-4989457471be4130d21116fc4f5abb7e225b9ef4.tar.bz2
mldonkey: add ENV.x11
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