$OpenBSD: patch-src_Makefile_shlib,v 1.7 2009/07/21 19:43:45 pea Exp $
--- src/Makefile.shlib.orig	Mon Jan  5 10:27:19 2009
+++ src/Makefile.shlib	Sun May 31 11:58:20 2009
@@ -154,7 +154,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