summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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