Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 23:42:35 -0700
From:      "Zoltan Frombach" <tssajo@hotmail.com>
To:        <ports@FreeBSD.org>
Subject:   Re: Compile fails for ports/x11-toolkits/tk84 (fix attached) - It is probably a problem with the tcl port!!
Message-ID:  <BAY2-DAV2ndg5oQJgAG000028c1@hotmail.com>

next in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY2-DAV2ndg5oQJgAG000028c1>