Date: Thu, 28 Oct 2004 08:41:21 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Dirk Meyer <dinoex@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 Message-ID: <20041028154121.GA55190@xor.obsecurity.org> In-Reply-To: <200410280749.i9S7n68f056611@repoman.freebsd.org> References: <200410280749.i9S7n68f056611@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041028154121.GA55190>