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

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


On 2013-05-17 21:39, Simon J. Gerraty wrote:
>> 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.
> 
> This could be the result of some bits being built by the old freebsd
> make. 
> 
> Since the early stage of buildworld doesn't use the up to date
> bsd.own.mk I suspect that the install of bmake as
> $MAKEOBJDIRPREFIX$.CURDIR/make.$MACHINE/make 
> may not be working.
> 
> Ok, I just checked - it isn't, it gets installed there as bmake,
> which would explain the havior you see.
> 
> Should be fixed now.
> Also bmake will now ignore PWD always - same as fmake.

Thanks, it seems to work now.

Bmake doesn't seem to like what portconf puts in make.conf though:

# Begin portconf settings
# Do not touch these lines
.if !empty(.CURDIR:M/usr/home/tijl/freebsd/ports*) && exists(/usr/local/libexec/portconf)
_PORTCONF!=/usr/local/libexec/portconf
.for i in ${_PORTCONF:S/|/ /g}
${i:S/%/ /g}
.endfor
.endif
# End portconf settings

When the output of /usr/local/libexec/portconf is empty make
warns about it:

make: "/etc/make.conf" line 115: warning: Couldn't read shell's output for
"/usr/local/libexec/portconf"

When it isn't empty, make fails on ${i:S/%/ /g} (evaluates to
VAR= or VAR=value):

make: "/etc/make.conf" line 117: Need an operator
make: Fatal errors encountered -- cannot continue


-------------- 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/d05bda2f/attachment.sig>


More information about the svn-src-all mailing list