diff options
author | yar <yar@FreeBSD.org> | 2006-03-01 13:07:17 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-03-01 13:07:17 +0000 |
commit | 8d6d9efea21efa48fe2a41ecffba3cb4edf6eed8 (patch) | |
tree | 091e594247ef7b42a4f37ae346ee2cccb3c60dd4 /Makefile | |
parent | a4f54d58184b632db46dc39ae4375819a6759c11 (diff) | |
download | FreeBSD-src-8d6d9efea21efa48fe2a41ecffba3cb4edf6eed8.zip FreeBSD-src-8d6d9efea21efa48fe2a41ecffba3cb4edf6eed8.tar.gz |
Do not discard the current value of __MAKE_CONF when testing
whether MAKEOBJDIRPREFIX is set at a wrong place.
Reviewed by: ru
MFC after: 3 days
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,11 +93,11 @@ TGTS+= ${BITGTS} PATH= /sbin:/bin:/usr/sbin:/usr/bin MAKEOBJDIRPREFIX?= /usr/obj _MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} \ - ${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} \ + ${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \ -f /dev/null -V MAKEOBJDIRPREFIX dummy .if !empty(_MAKEOBJDIRPREFIX) .error MAKEOBJDIRPREFIX can only be set in environment, not as a global\ - (in /etc/make.conf) or command-line variable. + (in make.conf(5)) or command-line variable. .endif MAKEPATH= ${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE} BINMAKE= \ |