From 87bc747a621099ecbcaca15ffcd7fce26af82d67 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 10 May 2022 19:27:21 +0000 Subject: 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. --- src/regress/lib/libssl/openssl-ruby/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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 @@ -# $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 -- cgit v1.2.3-55-g6feb