Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
636646c1
Commit
636646c1
authored
Jan 11, 2017
by
SHIBATA Hiroshi
Committed by
GitHub
Jan 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1002 from chulkilee/brew-info
print when using homebrew packages
parents
96c723e9
5118c425
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
bin/ruby-build
+3
-0
No files found.
bin/ruby-build
View file @
636646c1
...
@@ -914,6 +914,7 @@ needs_yaml() {
...
@@ -914,6 +914,7 @@ needs_yaml() {
use_homebrew_yaml
()
{
use_homebrew_yaml
()
{
local
libdir
=
"
$(
brew
--prefix
libyaml 2>/dev/null
||
true
)
"
local
libdir
=
"
$(
brew
--prefix
libyaml 2>/dev/null
||
true
)
"
if
[
-d
"
$libdir
"
]
;
then
if
[
-d
"
$libdir
"
]
;
then
echo
"ruby-build: use libyaml from homebrew"
package_option ruby configure
--with-libyaml-dir
=
"
$libdir
"
package_option ruby configure
--with-libyaml-dir
=
"
$libdir
"
else
else
return
1
return
1
...
@@ -948,6 +949,7 @@ use_homebrew_readline() {
...
@@ -948,6 +949,7 @@ use_homebrew_readline() {
if
[[
"
$RUBY_CONFIGURE_OPTS
"
!=
*
--with-readline-dir
=
*
]]
;
then
if
[[
"
$RUBY_CONFIGURE_OPTS
"
!=
*
--with-readline-dir
=
*
]]
;
then
local
libdir
=
"
$(
brew
--prefix
readline 2>/dev/null
||
true
)
"
local
libdir
=
"
$(
brew
--prefix
readline 2>/dev/null
||
true
)
"
if
[
-d
"
$libdir
"
]
;
then
if
[
-d
"
$libdir
"
]
;
then
echo
"ruby-build: use readline from homebrew"
package_option ruby configure
--with-readline-dir
=
"
$libdir
"
package_option ruby configure
--with-readline-dir
=
"
$libdir
"
else
else
return
1
return
1
...
@@ -965,6 +967,7 @@ has_broken_mac_openssl() {
...
@@ -965,6 +967,7 @@ has_broken_mac_openssl() {
use_homebrew_openssl
()
{
use_homebrew_openssl
()
{
local
ssldir
=
"
$(
brew
--prefix
openssl 2>/dev/null
||
true
)
"
local
ssldir
=
"
$(
brew
--prefix
openssl 2>/dev/null
||
true
)
"
if
[
-d
"
$ssldir
"
]
;
then
if
[
-d
"
$ssldir
"
]
;
then
echo
"ruby-build: use openssl from homebrew"
package_option ruby configure
--with-openssl-dir
=
"
$ssldir
"
package_option ruby configure
--with-openssl-dir
=
"
$ssldir
"
else
else
return
1
return
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment