svn commit: r250699 - in head: share/mk usr.bin/make

Tijl Coosemans tijl at FreeBSD.org
Fri May 17 18:18:21 UTC 2013


On 2013-05-16 17:28, Simon J. Gerraty wrote:
> Author: sjg
> Date: Thu May 16 15:28:38 2013
> New Revision: 250699
> URL: http://svnweb.freebsd.org/changeset/base/250699
> 
> Log:
>   Build bmake by default.

For me /usr/src is a symlink to /some/path and now if I build from
/usr/src some parts end up in /usr/obj/usr/src and other parts
in /usr/obj/some/path. It used to be the latter.

/usr/ports is a symlink too:

% cd /usr/ports/www/firefox
% pwd
/usr/home/tijl/freebsd/ports/head/www/firefox
% make -V .CURDIR
/usr/ports/www/firefox
% cd /usr/home/tijl/freebsd/ports/head/www/firefox
% pwd
/usr/home/tijl/freebsd/ports/head/www/firefox
% make -V .CURDIR
/home/tijl/freebsd/ports/head/www/firefox

So it seems to change /usr/home back into /home too.

This breaks ports-mgmt/portconf because it adds the following to
/etc/make.conf but .CURDIR never matches the real path.

.if !empty(.CURDIR:M/usr/home/tijl/freebsd/ports*) && exists(/usr/local/libexec/portconf)
...
.endif

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130517/be227f3e/attachment.sig>


More information about the svn-src-all mailing list