Require USA_RESIDENT to be 'NO' or 'YES' if building secure/

Reviewed by:	marcel
This commit is contained in:
Kris Kennaway 2000-01-19 04:03:48 +00:00
parent bffc499a69
commit f8c52b7c27

View File

@ -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"