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
1aa052b3
Commit
1aa052b3
authored
Nov 04, 2016
by
Yuichiro NAITO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prefer to use openssl library from Ports Collection.
parent
d0c91c93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
bin/ruby-build
+9
-3
No files found.
bin/ruby-build
View file @
1aa052b3
...
@@ -920,15 +920,21 @@ use_homebrew_yaml() {
...
@@ -920,15 +920,21 @@ use_homebrew_yaml() {
}
}
use_freebsd_pkg
()
{
use_freebsd_pkg
()
{
# check if FreeBSD
11-R or later
# check if FreeBSD
if
[
"FreeBSD"
=
"
$(
uname
-s
)
"
]
;
then
if
[
"FreeBSD"
=
"
$(
uname
-s
)
"
]
;
then
# use openssl if installed from Ports Collection
if
[
-f
/usr/local/include/openssl/ssl.h
]
;
then
package_option ruby configure
--with-openssl-dir
=
"/usr/local"
fi
# check if 11-R or later
if
[
"
$(
uname
-r
| sed
's/[^[:digit:]].*//'
)
"
-ge
11
]
;
then
if
[
"
$(
uname
-r
| sed
's/[^[:digit:]].*//'
)
"
-ge
11
]
;
then
if
$(
pkg info
-e
libedit
)
;
then
if
$(
pkg info
-e
libedit
)
;
then
# use
if libedit is installed
# use
libedit from Ports Collection
package_option ruby configure
--enable-libedit
package_option ruby configure
--enable-libedit
package_option ruby configure
--with-libedit-dir
=
"/usr/local"
package_option ruby configure
--with-libedit-dir
=
"/usr/local"
elif
$(
pkg info
-e
readline
)
;
then
elif
$(
pkg info
-e
readline
)
;
then
# use
if readline is installed
# use
readline from Ports Collection
package_option ruby configure
--with-readline-dir
=
"/usr/local"
package_option ruby configure
--with-readline-dir
=
"/usr/local"
fi
fi
fi
fi
...
...
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