In the port lang/tcl84, file files/patch-configure, revision 1.5 (might apply to earlier revisions, other branches, other Tcl ports as well) you set SHLIB_LD="ld -shared -x -soname \$@". This gets substituted into tclConfig.sh as TCL_SHLIB_LD which others software packages are supposed to use to build with Tcl support. This leads to two problems: If I use TCL_SHLIB_LD to build a shared library linked against libtcl, how do you know my makefile target is the soname I want? tclConfig.sh isn't a makefile, it's a shell script. Notice how some lines in tclConfig.sh contain single-quoted variable references: you're supposed to "eval" each of these lines in a shell before using them, so if you have a $@ in there you get completely wrong results. Fix: Revert this change and patch the makefiles if you want the soname in there. =OR= Make sure that this alteration of SHLIB_LD is reverted before it's subsituted into TCL_SHLIB_LD. How-To-Repeat: Install any recent version of PostgreSQL from source with Tcl support on a recent FreeBSD. Most likely to mess up a lot of other Tcl-using programs as well.
Responsible Changed From-To: freebsd-ports->dinoex I will look into this.
State Changed From-To: open->closed A fix has been commited for tcl82 tcl83 and tcl84