diff options
author | kris <kris@FreeBSD.org> | 2000-01-19 04:03:48 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-01-19 04:03:48 +0000 |
commit | 0e638ddc72e7558a3ede2a5989fb4c925da839d9 (patch) | |
tree | 46c50bd97435ca8621bc89aba571101b6dc6f527 /Makefile.inc1 | |
parent | 1cbf0ebcecc0cdd155e682ae6412253cc8d5c2a1 (diff) | |
download | FreeBSD-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.inc1 | 12 |
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" |