openssl-ruby: prepare test for default ruby switch
authortb <tb@openbsd.org>
Sat, 15 Jun 2024 08:39:47 +0000 (08:39 +0000)
committertb <tb@openbsd.org>
Sat, 15 Jun 2024 08:39:47 +0000 (08:39 +0000)
regress/lib/libssl/openssl-ruby/Makefile

index 40b6a37..bf29045 100644 (file)
@@ -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