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
c134ba6c
Commit
c134ba6c
authored
13 years ago
by
Misty De Meo
Browse files
Options
Downloads
Patches
Plain Diff
doctor: be specific about libiconv files detected
Closes Homebrew/homebrew#11417.
parent
90400ece
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/cmd/doctor.rb
+9
-6
9 additions, 6 deletions
Library/Homebrew/cmd/doctor.rb
with
9 additions
and
6 deletions
Library/Homebrew/cmd/doctor.rb
+
9
−
6
View file @
c134ba6c
...
...
@@ -500,17 +500,20 @@ def check_for_gettext
end
def
check_for_iconv
if
%w[lib/libiconv.dylib
include/iconv.h ]
.
any?
{
|
f
|
File
.
exist?
"
#{
HOMEBREW_PREFIX
}
/
#{
f
}
"
}
iconv_files
=
%w[lib/iconv.dylib
include/iconv.h]
.
select
{
|
f
|
File
.
exist?
"
#{
HOMEBREW_PREFIX
}
/
#{
f
}
"
}
if
!
iconv_files
.
empty?
<<-
EOS
.
undent
libiconv was detected in your PREFIX.
The following libiconv files were detected in
#{
HOMEBREW_PREFIX
}
:
#{
iconv_files
.
join
"
\n
"
}
Homebrew doesn't provide a libiconv formula, and expects to link against
the system version in /usr/lib.
If you have a non-Homebrew provided libiconv, many formulae will fail
to compile or link, especially if it wasn't compiled with the proper
architectures.
If you have an alternate libiconv, many formulae will fail to compile or
link, especially if it wasn't compiled with the proper architectures.
EOS
else
nil
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