diff options
author | tb <> | 2022-05-10 19:27:21 +0000 |
---|---|---|
committer | tb <> | 2022-05-10 19:27:21 +0000 |
commit | 87bc747a621099ecbcaca15ffcd7fce26af82d67 (patch) | |
tree | 0d8ec113283ab423677d113610ecf397bc5023c4 /src | |
parent | db73caf68a92043a2ef75b36a530de4601917386 (diff) | |
download | openbsd-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/Makefile | 6 |
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 | ||
3 | OPENSSL_RUBY_TESTS = /usr/local/share/openssl-ruby-tests | 3 | OPENSSL_RUBY_TESTS = /usr/local/share/openssl-ruby-tests |
4 | .if exists(/usr/local/bin/ruby31) | ||
4 | RUBY_BINREV = 31 | 5 | RUBY_BINREV = 31 |
6 | .else | ||
7 | RUBY_BINREV = 30 | ||
8 | .endif | ||
5 | RUBY = ruby${RUBY_BINREV} | 9 | RUBY = 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 |