diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-10 19:27:22 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-10 19:27:22 +0000 |
commit | 483a1e1ae4e388f2b842565c08002ba4c1b06c58 (patch) | |
tree | 99ede81bfd515c11d8dbd95fae91dccd8c98938b /regress/lib | |
parent | 257dad1232010101e6bf69b32d0a0121cf68dc8a (diff) |
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 'regress/lib')
-rw-r--r-- | regress/lib/libssl/openssl-ruby/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/lib/libssl/openssl-ruby/Makefile b/regress/lib/libssl/openssl-ruby/Makefile index dd7243fe3f8..f435270ae9e 100644 --- a/regress/lib/libssl/openssl-ruby/Makefile +++ b/regress/lib/libssl/openssl-ruby/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.8 2022/05/08 19:03:31 tb Exp $ +# $OpenBSD: Makefile,v 1.9 2022/05/10 19:27:21 tb Exp $ OPENSSL_RUBY_TESTS = /usr/local/share/openssl-ruby-tests +.if exists(/usr/local/bin/ruby31) RUBY_BINREV = 31 +.else +RUBY_BINREV = 30 +.endif RUBY = ruby${RUBY_BINREV} # We work in a subdirectory of obj/ since extconf.rb generates a Makefile whose |