# $FreeBSD$
PORTNAME= ruby-build
PORTVERSION= 20191004 # pend update until bug 241633 solved
PORTVERSION= 20191030
DISTVERSIONPREFIX= v
CATEGORIES= devel ruby
TIMESTAMP = 1570594875
TIMESTAMP = 1573003323
SHA256 (rbenv-ruby-build-v20191004_GH0.tar.gz) = 6f053957acb0af6d621ebf2b9dacc9c265844b2dc6842a021eb10f0a70094fe8
SHA256 (rbenv-ruby-build-v20191030_GH0.tar.gz) = 6f13124f7bc6e65930606dec25f26305f132dc3596035b09d48576f1eb0ea5c7
SIZE (rbenv-ruby-build-v20191004_GH0.tar.gz) = 63345
SIZE (rbenv-ruby-build-v20191030_GH0.tar.gz) = 63632
--- bin/ruby-build.orig 2019-10-30 17:11:02 UTC
+++ bin/ruby-build
@@ -1317,15 +1317,8 @@ fi
if [ -z "$MAKE" ]; then
if [ "FreeBSD" = "$(uname -s)" ]; then
- if [ "$(echo $1 | sed 's/-.*$//')" = "jruby" ]; then
- export MAKE="gmake"
- else
- if [ "$(uname -r | sed 's/[^[:digit:]].*//')" -lt 10 ]; then
- export MAKE="make"
- fi
+ # FreeBSD bug 241633: fails to build due to race condition
+ export MAKE="gmake"
else
export MAKE="make"
fi