--- pl/tcl/Makefile.orig	Sun Dec 13 17:47:17 1998
+++ pl/tcl/Makefile	Mon Jan 18 16:23:06 1999
@@ -47,17 +47,26 @@
 # in TCL_LIBS, but you still need it on systems that want to hear about
 # dependent libraries...
 
-ifneq ($(TCL_SHLIB_LD_LIBS),)
-# link command for a shared lib must mention shared libs it uses
-SHLIB_EXTRA_LIBS=$(TCL_LIBS) -lc
-else
-# link command for a shared lib must NOT mention shared libs it uses
-SHLIB_EXTRA_LIBS=
-endif
-
-%$(TCL_SHLIB_SUFFIX):	%.o
-	$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)
-
+# XXX - This rule is already present - and this technique won't work anyway,
+#	since the twice-eval'd value of TCL_SHLIB_LD in FreeBSD ELF:
+#
+#		TCL_SHLIB_LD=ld -shared -x -soname $@
+#
+#	will lose the trailing '$@', setting the soname to '-o' below and
+#	generally messing things up.
+#
+#%$(TCL_SHLIB_SUFFIX):	%.o
+#	$(TCL_SHLIB_LD) -o $@ $< $(TCL_SHLIB_LD_LIBS) $(TCL_LIB_SPEC) $(TCL_LIBS)
+#ifneq ($(TCL_SHLIB_LD_LIBS),)
+## link command for a shared lib must mention shared libs it uses
+#SHLIB_EXTRA_LIBS=$(TCL_LIBS) -lc
+#else
+## link command for a shared lib must NOT mention shared libs it uses
+#SHLIB_EXTRA_LIBS=
+#endif
+#
+#%$(TCL_SHLIB_SUFFIX):	%.o
+#	$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)
 
 #
 # Uncomment the following to enable the unknown command lookup
