From 88b2e117b2d8a105ff505481ec0779e43c0f1573 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 15 Jun 2024 08:39:47 +0000 Subject: [PATCH] openssl-ruby: prepare test for default ruby switch --- regress/lib/libssl/openssl-ruby/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/regress/lib/libssl/openssl-ruby/Makefile b/regress/lib/libssl/openssl-ruby/Makefile index 40b6a374d5f..bf29045bcd9 100644 --- a/regress/lib/libssl/openssl-ruby/Makefile +++ b/regress/lib/libssl/openssl-ruby/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.11 2023/09/24 07:01:40 tb Exp $ +# $OpenBSD: Makefile,v 1.12 2024/06/15 08:39:47 tb Exp $ OPENSSL_RUBY_TESTS = /usr/local/share/openssl-ruby-tests +.if exists(/usr/local/bin/ruby32) RUBY_BINREV = 32 +.else +RUBY_BINREV = 33 +.endif RUBY = ruby${RUBY_BINREV} # We work in a subdirectory of obj/ since extconf.rb generates a Makefile whose -- 2.20.1