summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-01-19 04:03:48 +0000
committerkris <kris@FreeBSD.org>2000-01-19 04:03:48 +0000
commit0e638ddc72e7558a3ede2a5989fb4c925da839d9 (patch)
tree46c50bd97435ca8621bc89aba571101b6dc6f527 /Makefile.inc1
parent1cbf0ebcecc0cdd155e682ae6412253cc8d5c2a1 (diff)
downloadFreeBSD-src-0e638ddc72e7558a3ede2a5989fb4c925da839d9.zip
FreeBSD-src-0e638ddc72e7558a3ede2a5989fb4c925da839d9.tar.gz
Require USA_RESIDENT to be 'NO' or 'YES' if building secure/
Reviewed by: marcel
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc112
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8cf7711..fcb0b55 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"
OpenPOWER on IntegriCloud