summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-06-15 08:39:48 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-06-15 08:39:48 +0000
commit8b3aeb2350fb4e5392eaf7718e0f8e9b9ded1187 (patch)
tree102e1595c825ff6053b0ca8966c8b9429febc930
parent829773e863ad08ca347b3fdc07e5be98f7dba562 (diff)
openssl-ruby: prepare test for default ruby switch
-rw-r--r--regress/lib/libssl/openssl-ruby/Makefile6
1 files changed, 5 insertions, 1 deletions
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