$OpenBSD: patch-configure,v 1.3 2007/12/27 18:32:33 bernd Exp $
--- configure.orig	Sun Sep 23 08:19:34 2007
+++ configure	Mon Sep 24 17:52:28 2007
@@ -16674,7 +16674,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)'
