aboutsummaryrefslogtreecommitdiff
path: root/secure
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-07-03 06:24:23 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-07-03 06:24:23 +0000
commit86c9b3ab20fe43a5acbd2d17c4287a961beef62f (patch)
treee49f40453b06316cb3246a0746aa2abe6c984b81 /secure
parenta9e2722c5805b6680d7acef728527846d92b001d (diff)
downloadsrc-86c9b3ab20fe43a5acbd2d17c4287a961beef62f.tar.gz
src-86c9b3ab20fe43a5acbd2d17c4287a961beef62f.zip
USA_RESIDENT is forced to YES or NO at the start of Makefile.inc1
Use that to be the final arbiter of whether or not to build the librsaintl.so plugin for openssl/openssh. Add a magic WANT_RSAINTL flag to force building even if USA_RESIDENT=YES.
Notes
Notes: svn path=/head/; revision=62434
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/secure/lib/Makefile b/secure/lib/Makefile
index 8aeb2bf8dee3..5c7165b5ea45 100644
--- a/secure/lib/Makefile
+++ b/secure/lib/Makefile
@@ -9,7 +9,8 @@ SUBDIR+=libcrypto librsaglue libssl
.if exists(${.CURDIR}/../../crypto/openssl/rsaref)
SUBDIR+=librsausa
.endif
-.if exists(${.CURDIR}/../../crypto/openssl/crypto/rsa/rsa_eay.c)
+.if exists(${.CURDIR}/../../crypto/openssl/crypto/rsa/rsa_eay.c) &&
+ (${USA_RESIDENT} != YES || defined(MAKE_RSAINTL))
SUBDIR+=librsaintl
.endif
.endif