make in dir

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Wed, 2 Apr 2014 15:15:04 +0300
Hi,
it seems that recent changes to share/mk broke the ability to do anything
in subdir of the source tree.  As example, on the HEAD r264012 installed
yesterday:

sandy% make           /usr/home/pooma/build/bsd/DEV/src/tools/regression/kqueue
make: "/usr/share/mk/bsd.own.mk" line 436: MK_MAN can't be set by a user.

Also, on stable/9 hosting the HEAD cross-env:
cd src && MAKEOBJDIRPREFIX=/usr/home/kostik/build/bsd/DEV/obj-amd64 DESTDIR=/usr/home/kostik/build/bsd/DEV/netboot/sandy-amd64 SYSDIR=/usr/home/kostik/build/bsd/DEV/src/sys TARGET=amd64  make  buildenv
Entering world for amd64:amd64
# cd share/mk
# make install
"bsd.own.mk", line 435: Malformed conditional (${.MAKE.LEVEL} == 0)
"bsd.own.mk", line 436: MK_PROFILE can't be set by a user.
# ^D

I believe I am not the first person reporting the problem.

Received on Wed Apr 02 2014 - 10:15:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC