Adjust CompilerSelectionError message
This commit is contained in:
parent
cb32f76f27
commit
29d204c697
@ -213,20 +213,11 @@ end
|
|||||||
# raised by CompilerSelector if the formula fails with all of
|
# raised by CompilerSelector if the formula fails with all of
|
||||||
# the compilers available on the user's system
|
# the compilers available on the user's system
|
||||||
class CompilerSelectionError < StandardError
|
class CompilerSelectionError < StandardError
|
||||||
def message
|
def message; <<-EOS.undent
|
||||||
if MacOS.version > :tiger then <<-EOS.undent
|
This formula cannot be built with any available compilers.
|
||||||
This formula cannot be built with any available compilers.
|
To install this formula, you may need to:
|
||||||
To install this formula, you may need to:
|
brew install apple-gcc42
|
||||||
brew tap homebrew/dupes
|
EOS
|
||||||
brew install apple-gcc42
|
|
||||||
EOS
|
|
||||||
# tigerbrew has a separate apple-gcc42 for Xcode 2.5
|
|
||||||
else <<-EOS.undent
|
|
||||||
This formula cannot be built with any available compilers.
|
|
||||||
To install this formula, you need to:
|
|
||||||
brew install apple-gcc42
|
|
||||||
EOS
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user