diff options
| author | Camillo Lugaresi | 2012-06-08 04:09:29 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-07-01 12:19:01 -0500 |
| commit | 4416955495f13396f336186549a558ae2f291801 (patch) | |
| tree | 7adea195732fd0a9beeb4d7520acc35c5394dfca /Library | |
| parent | 4c10eaf33243e1af956905acb8035a4fa51d4cac (diff) | |
| download | brew-4416955495f13396f336186549a558ae2f291801.tar.bz2 | |
ENV.x11 automatically if depends_on :x11
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/build.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 271e7f141..bad624afc 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -54,6 +54,8 @@ at_exit do end def install f + ENV.x11 if f.external_deps.any? { |dep| dep.is_a? X11Dependency } + f.recursive_deps.uniq.each do |dep| dep = Formula.factory dep if dep.keg_only? |
