$OpenBSD: patch-configure,v 1.4 2008/09/28 15:43:05 bernd Exp $
--- configure.orig	Mon Aug 11 02:38:35 2008
+++ configure	Wed Sep  3 10:30:36 2008
@@ -17211,7 +17211,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)'
