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

Kris Kennaway kris at obsecurity.org
Thu Oct 28 08:40:09 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20041028/bec6c384/attachment.bin


More information about the cvs-all mailing list