aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/app-engine-java-sdk.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-29 22:52:10 -0600
committerJack Nagel2013-01-31 15:39:26 -0600
commit8df3f14d15ac6ea495589eb919ff272b03119e7f (patch)
treeb3fff8311b698fbb6d3740f90080b5aeb5e1d3b9 /Library/Formula/app-engine-java-sdk.rb
parent4acb1896df30a4a872c3f121747a300e5dc261f7 (diff)
downloadhomebrew-8df3f14d15ac6ea495589eb919ff272b03119e7f.tar.bz2
Create proxy classes for "partial" X11 dependencies
When a formula's dependency tree contains more than one X11 dependency, they are de-duplicated by comparing the min_version attribute. However, this can result in broken dependency trees if one of the X11Dependency objects was actually specified as e.g. `:libpng`. In practice, this only matters when one or more of the dependencies has additional metadata that makes it distinct from the rest, i.e. an :optional or :recommended tag. To combat this, make these special, "partial" X11 dependencies instances of different classes so that they are not de-duped. It will still be necessary, at the time when requirements are expanded by the installer, to de-duplicate any remaining X11 dependencies after applying the optional/recommended filters in order to avoid duplicated modifications to the environment (as ENV.x11 is not idempotent). c.f. #17369.
Diffstat (limited to 'Library/Formula/app-engine-java-sdk.rb')
0 files changed, 0 insertions, 0 deletions