$OpenBSD: patch-src_Makefile_shlib,v 1.9 2013/10/15 02:18:17 jeremy Exp $
--- src/Makefile.shlib.orig	Mon May  6 13:57:06 2013
+++ src/Makefile.shlib	Thu May 16 15:08:07 2013
@@ -146,7 +146,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
