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
0170728d
Commit
0170728d
authored
Sep 08, 2014
by
Mislav Marohnić
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #630 from sstephenson/freebsd-make
On FreeBSD 10, stop defaulting to MAKE=gmake
parents
c2eb5e2a
60a5abeb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
bin/ruby-build
+1
-1
test/build.bats
+14
-2
No files found.
bin/ruby-build
View file @
0170728d
...
...
@@ -1048,7 +1048,7 @@ if "${CC:-cc}" -x c /dev/null -E -Wno-error=shorten-64-to-32 &>/dev/null; then
fi
if
[
-z
"
$MAKE
"
]
;
then
if
[
[
"FreeBSD"
=
"
$(
uname
-s
)
"
]
]
;
then
if
[
"FreeBSD"
=
"
$(
uname
-s
)
"
]
&&
[
"
$(
uname
-r
| sed
's/[^[:digit:]].*//'
)
"
-lt
10
]
;
then
export
MAKE
=
"gmake"
else
export
MAKE
=
"make"
...
...
test/build.bats
View file @
0170728d
...
...
@@ -318,10 +318,10 @@ OUT
assert [ -x ./here/bin/package ]
}
@test "make on FreeBSD defaults to gmake" {
@test "make on FreeBSD
9
defaults to gmake" {
cached_tarball "ruby-2.0.0"
stub uname "-s : echo FreeBSD"
stub uname "-s : echo FreeBSD"
"-r : echo 9.1"
MAKE=gmake stub_make_install
MAKE= install_fixture definitions/vanilla-ruby
...
...
@@ -331,6 +331,18 @@ OUT
unstub uname
}
@test "make on FreeBSD 10" {
cached_tarball "ruby-2.0.0"
stub uname "-s : echo FreeBSD" "-r : echo 10.0-RELEASE"
stub_make_install
MAKE= install_fixture definitions/vanilla-ruby
assert_success
unstub uname
}
@test "can use RUBY_CONFIGURE to apply a patch" {
cached_tarball "ruby-2.0.0"
...
...
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