summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-05-10 19:27:21 +0000
committertb <>2022-05-10 19:27:21 +0000
commit87bc747a621099ecbcaca15ffcd7fce26af82d67 (patch)
tree0d8ec113283ab423677d113610ecf397bc5023c4 /src
parentdb73caf68a92043a2ef75b36a530de4601917386 (diff)
downloadopenbsd-87bc747a621099ecbcaca15ffcd7fce26af82d67.tar.gz
openbsd-87bc747a621099ecbcaca15ffcd7fce26af82d67.tar.bz2
openbsd-87bc747a621099ecbcaca15ffcd7fce26af82d67.zip
If Ruby 3.1 isn't available, try to fall back to Ruby 3.0 so that
regress on bluhm's test machines have a chance to pass on slower architectures while package builds catch up.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/openssl-ruby/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/openssl-ruby/Makefile b/src/regress/lib/libssl/openssl-ruby/Makefile
index dd7243fe3f..f435270ae9 100644
--- a/src/regress/lib/libssl/openssl-ruby/Makefile
+++ b/src/regress/lib/libssl/openssl-ruby/Makefile
@@ -1,7 +1,11 @@
1# $OpenBSD: Makefile,v 1.8 2022/05/08 19:03:31 tb Exp $ 1# $OpenBSD: Makefile,v 1.9 2022/05/10 19:27:21 tb Exp $
2 2
3OPENSSL_RUBY_TESTS = /usr/local/share/openssl-ruby-tests 3OPENSSL_RUBY_TESTS = /usr/local/share/openssl-ruby-tests
4.if exists(/usr/local/bin/ruby31)
4RUBY_BINREV = 31 5RUBY_BINREV = 31
6.else
7RUBY_BINREV = 30
8.endif
5RUBY = ruby${RUBY_BINREV} 9RUBY = ruby${RUBY_BINREV}
6 10
7# We work in a subdirectory of obj/ since extconf.rb generates a Makefile whose 11# We work in a subdirectory of obj/ since extconf.rb generates a Makefile whose