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


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to