From owner-freebsd-ports@FreeBSD.ORG Wed Oct 27 16:24:53 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 6561316A4CE for ; Wed, 27 Oct 2004 16:24:53 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 342ED43D2D for ; Wed, 27 Oct 2004 16:24:53 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5D3FD513D2; Wed, 27 Oct 2004 09:25:56 -0700 (PDT) Date: Wed, 27 Oct 2004 09:25:56 -0700 From: Kris Kennaway To: Dirk Meyer Message-ID: <20041027162556.GA50173@xor.obsecurity.org> References: <417EAD82.3090504@triantos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: Compile fails for ports/x11-toolkits/tk84 (fix attached) 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: Wed, 27 Oct 2004 16:24:53 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 27, 2004 at 04:54:11PM +0200, Dirk Meyer wrote: > Nick Triantos schrieb:, >=20 > > I'm running FreeBSD 4.10. When I try to build ports/x11-toolkits/tk84,= =20 > > I get a pile of compiler errors. Google shows others are also seeing= =20 > > the same problem. > >=20 > > To fix this, I manually hacked=20 > > /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/Makefile, and changed=20 > > line 86 from: > >=20 > > TCL_GENERIC_DIR =3D /tmp/a/ports/lang/tcl84/work/tcl8.4.6/gener= ic > >=20 > > to > >=20 > > TCL_GENERIC_DIR =3D /usr/ports/lang/tcl84/work/tcl8.4.6/generic > >=20 > > I don't understand enough about the build system to see how it assigned= =20 > > that variable based on Makefile.in, but I think someone more familiar= =20 > > with the build process should try to fix this correctly, if they can. >=20 > Please verify. The grep must show: >=20 > $ grep SRC /usr/local/lib/tcl8.4/tclConfig.sh > TCL_SRC_DIR=3D'${WRKDIRPREFIX}/usr/ports/lang/tcl84/work/tcl8.4.6' >=20 > My guess: > Your tcl8.4 installed is out of date. >=20 > Deinstall tcl8.4 and do a clean install of tcl + tk. > Tk8.4 need the matching sources. >=20 > All uses who reported this used "portupgrade", > which might caused this problem with the dependency. See my previous response, which pointed out that it looks like ${WRKDIRPREFIX} is being expanded in the package, since WRKDIRPREFIX=3D/tmp and PORTSDIR=3D/a/ports on the package cluster. Kris --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBf8wUWry0BWjoQKURArRaAKDK9nMMNQN7XhOnFSNMpH0nqMvb6QCfVD+K r7TOV7pf9lgXsF1KoFtazq4= =vsQU -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--