From owner-cvs-ports@FreeBSD.ORG Thu Oct 28 15:40:08 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD5A916A4CE; Thu, 28 Oct 2004 15:40:08 +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 B571943D49; Thu, 28 Oct 2004 15:40:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 32D27511A7; Thu, 28 Oct 2004 08:41:21 -0700 (PDT) Date: Thu, 28 Oct 2004 08:41:21 -0700 From: Kris Kennaway To: Dirk Meyer Message-ID: <20041028154121.GA55190@xor.obsecurity.org> References: <200410280749.i9S7n68f056611@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <200410280749.i9S7n68f056611@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: cvs-ports@FreeBSD.org cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/lang/tcl82 Makefile ports/lang/tcl83 Makefile ports/lang/tcl84 Makefile ports/x11-toolkits/tk82 Makefile ports/x11-toolkits/tk83 Makefile ports/x11-toolkits/tk84 Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 15:40:09 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 28, 2004 at 07:49:06AM +0000, Dirk Meyer wrote: > Log: > - optimize reinplace to handle symlinked /usr/ports > | post-configure: > | ${REINPLACE_CMD} \ > | - -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \ > | - -e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \ > | + -e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \ > | ${WRKSRC}/tclConfig.sh This still looks wrong to me. When /usr/ports is a symlink the port will be built in ${WRKDIRPREFIX}/${.CURDIR}, which is not the same as ${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK} since ${PORTSDIR} and ${.CURDIR} have different prefixes. Kris --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBgRMgWry0BWjoQKURAla1AKC4wCSXmSfUgUIH70rtgnVMw2WuYwCg+MlP 4J1ypWJPjnx0G7Q09nuR2M0= =GGyU -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--