$OpenBSD: patch-configure,v 1.6 2009/06/16 09:12:44 bernd Exp $
--- configure.orig	Tue Jun  9 02:38:28 2009
+++ configure	Wed Jun 10 06:44:43 2009
@@ -17704,7 +17704,7 @@ if test "$enable_shared" = 'yes'; then
  	;;
     openbsd*)
 	SOLIBS='$(LIBS)'
-	LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
+	LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.'${LIBruby_VERSION}
 	;;
     solaris*)
 	SOLIBS='$(LIBS)'
