--- support/shobj-conf.orig	2009-10-28 08:20:21.000000000 -0500
+++ support/shobj-conf	2010-04-21 19:51:48.000000000 -0500
@@ -147,7 +147,10 @@
 
 # FreeBSD-4.x and later have only ELF
 freebsd[4-9]*|freebsdelf*|dragonfly*)
-	SHOBJ_CFLAGS=-fPIC
+	# SHOBJ_CFLAGS=-fPIC
+	# This breaks shared lib linking with FreeBSD 6.2RC1/SPARC64 with
+	# gcc version 3.4.6 [FreeBSD] 20060305 - gcc bug?
+	# Submitted By: John Wood <john-freebsd@charpa.org>
 	SHOBJ_LD='${CC}'
 
 	SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
