 5bea36799b
			
		
	
	
		5bea36799b
		
			
		
	
	
	
	
		
			
			These can be enabled now Homebrew/homebrew-core has been fixed (in https://github.com/Homebrew/homebrew-core/pull/32968).
		
			
				
	
	
		
			17 lines
		
	
	
		
			283 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			283 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| require "requirement"
 | |
| 
 | |
| class X11Requirement < Requirement
 | |
|   module Compat
 | |
|     def initialize(tags = [])
 | |
|       if tags.first.to_s.match?(/(\d\.)+\d/)
 | |
|         odeprecated('depends_on :x11 => "X.Y.Z"')
 | |
|         tags.shift
 | |
|       end
 | |
| 
 | |
|       super(tags)
 | |
|     end
 | |
|   end
 | |
| 
 | |
|   prepend Compat
 | |
| end
 |