$OpenBSD: patch-security_coreconf_OpenBSD_mk,v 1.3 2008/07/05 16:00:29 martynas Exp $
--- security/coreconf/OpenBSD.mk.orig	Sun May  6 11:08:36 2007
+++ security/coreconf/OpenBSD.mk	Wed Jul  2 11:52:33 2008
@@ -56,7 +56,7 @@ OS_LIBS			+= -pthread
 DSO_LDOPTS		+= -pthread
 endif
 
-DLL_SUFFIX		= so.1.0
+DLL_SUFFIX		= so.${SO_VERSION}
 
 OS_CFLAGS		= $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DOPENBSD
 
