$OpenBSD: patch-src_Makefile_shlib,v 1.8 2012/09/24 19:57:02 pea Exp $
--- src/Makefile.shlib.orig	Fri May 11 00:35:09 2012
+++ src/Makefile.shlib	Tue May 15 10:23:01 2012
@@ -149,7 +149,7 @@ ifeq ($(PORTNAME), openbsd)
   ifdef ELF_SYSTEM
     LINK.shared		= $(COMPILER) -shared
     ifdef soname
-      LINK.shared	+= -Wl,-x,-soname,$(soname)
+      LINK.shared	+= -Wl,-x
     endif
     SHLIB_LINK		+= -lc
   else
