From owner-freebsd-ports@FreeBSD.ORG Thu Oct 28 06:43:01 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02D1416A4CE for ; Thu, 28 Oct 2004 06:43:01 +0000 (GMT) Received: from hotmail.com (bay2-dav2.bay2.hotmail.com [65.54.246.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id E22E743D41 for ; Thu, 28 Oct 2004 06:43:00 +0000 (GMT) (envelope-from tssajo@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 27 Oct 2004 23:43:00 -0700 Received: from 24.24.201.219 by BAY2-DAV2.phx.gbl with DAV; Thu, 28 Oct 2004 06:42:33 +0000 X-Originating-IP: [24.24.201.219] X-Originating-Email: [tssajo@hotmail.com] X-Sender: tssajo@hotmail.com From: "Zoltan Frombach" To: Date: Wed, 27 Oct 2004 23:42:35 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: X-OriginalArrivalTime: 28 Oct 2004 06:43:00.0629 (UTC) FILETIME=[5E0FEC50:01C4BCB9] Subject: Re: Compile fails for ports/x11-toolkits/tk84 (fix attached) - It is probably a problem with the tcl port!! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 06:43:01 -0000 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