diff --git a/Makefile.inc1 b/Makefile.inc1 index 8cf77116425e..fcb0b5595bb2 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -198,6 +198,18 @@ INCDIRS= arpa g++/std objc protocols readline rpc rpcsvc openssl \ # success, regardless of how old your existing system is. # buildworld: +.if !defined(NOSECURE) && exists(${.CURDIR}/secure) && \ + (!defined(USA_RESIDENT) || (${USA_RESIDENT} != NO && \ + ${USA_RESIDENT} != YES)) + @echo + @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + @echo ">>> You must define the value of USA_RESIDENT as 'YES' or" + @echo ">>> 'NO' as appropriate, in the environment or /etc/make.conf" + @echo ">>> before building can proceed." + @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + @/usr/bin/false +.endif + @echo @echo "--------------------------------------------------------------" @echo ">>> Rebuilding the temporary build tree"