Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
53b1e8ed
Commit
53b1e8ed
authored
14 years ago
by
Adam Vandenberg
Browse files
Options
Downloads
Patches
Plain Diff
Use here-strings.
parent
7963dbfc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/brew_doctor.rb
+23
-14
23 additions, 14 deletions
Library/Homebrew/brew_doctor.rb
with
23 additions
and
14 deletions
Library/Homebrew/brew_doctor.rb
+
23
−
14
View file @
53b1e8ed
...
...
@@ -11,19 +11,24 @@ end
def
check_for_x11
unless
File
.
exists?
'/usr/X11/lib/libpng.dylib'
puts
"You don't have X11 installed as part of your Xcode installation."
puts
"This isn't required for all formula. But it is expected by some."
puts
<<-
EOS
.
undent
You don't have X11 installed as part of your Xcode installation.
This isn't required for all formula. But it is expected by some.
EOS
end
end
def
check_for_other_package_managers
if
macports_or_fink_installed?
puts
"You have Macports or Fink installed. This can cause trouble."
puts
"You don't have to uninstall them, but you may like to try temporarily"
puts
"moving them away, eg."
puts
puts
" sudo mv /opt/local ~/macports"
puts
puts
<<-
EOS
.
undent
You have Macports or Fink installed. This can cause trouble.
You don't have to uninstall them, but you may like to try temporarily
moving them away, eg.
sudo mv /opt/local ~/macports
EOS
end
end
...
...
@@ -32,15 +37,19 @@ def check_gcc_versions
gcc_40
=
gcc_40_build
if
gcc_42
<
RECOMMENDED_GCC_42
puts
"Your gcc 4.2.x version is older than the recommended version. It may be advisable"
puts
"to upgrade to the latest release of Xcode."
puts
puts
<<-
EOS
.
undent
Your gcc 4.2.x version is older than the recommended version. It may be advisable
to upgrade to the latest release of Xcode.
EOS
end
if
gcc_40
<
RECOMMENDED_GCC_40
puts
"Your gcc 4.0.x version is older than the recommended version. It may be advisable"
puts
"to upgrade to the latest release of Xcode."
puts
puts
<<-
EOS
.
undent
Your gcc 4.0.x version is older than the recommended version. It may be advisable
to upgrade to the latest release of Xcode.
EOS
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment