Compile fails for ports/x11-toolkits/tk84 (fix attached) - It is probably a problem with the tcl port!!

Zoltan Frombach tssajo at hotmail.com
Wed Oct 27 23:43:01 PDT 2004


I believe I am getting closer to the 'real' solution. I am now pretty sure 
that the tk port problem was introduced by the tcl-8.4.6_2,1 port. And it 
does not make any difference if you portugraded tcl or you (re)installed it 
by hand. At least this is what happens on my system (FreeBSD 5.2-CURRENT #3 
from May, 2004) when I install the tcl-8.4.6_2,1 port: It puts totally wrong 
path values into the /usr/local/lib/tcl8.4/tclConfig.sh file!! For example:

TCL_SRC_DIR='${WRKDIRPREFIX}${WRKDIRPREFIX}/usr/ports/work/tcl8.4.6'

There is something really bad here!! No wonder tk won't compile anymore.

Once I change EVERY(!) instance of the string 
"${WRKDIRPREFIX}${WRKDIRPREFIX}/usr/ports" to "/usr/ports/lang/tcl84" inside 
/usr/local/lib/tcl8.4/tclConfig.sh  everything starts to work. I can now do 
a successfull 'portupgrade tk'.

I believe that the problem is somewhere inside the tcl-8.4.6_2,1 port's 
Makefile. See recent changes:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/tcl84/Makefile.diff?r1=1.81&r2=1.82&f=h

I would appreciate if the port maintainer of the tcl84 port would look into 
this and give us a heads up.

Zoltan 


More information about the freebsd-ports mailing list