From: tb Date: Sat, 15 Jun 2024 08:39:47 +0000 (+0000) Subject: openssl-ruby: prepare test for default ruby switch X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=88b2e117b2d8a105ff505481ec0779e43c0f1573;p=openbsd openssl-ruby: prepare test for default ruby switch --- 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