summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-07-03 06:24:23 +0000
committerpeter <peter@FreeBSD.org>2000-07-03 06:24:23 +0000
commit5e51a5bb2dd62a02928d25da5a90d8e11f29de3e (patch)
treee424a5fd362b3ed853c65c040ce80876d71bb509 /secure/lib
parent62753e53e092e0f799d83ab03ba8d6ac64d3c9e2 (diff)
downloadFreeBSD-src-5e51a5bb2dd62a02928d25da5a90d8e11f29de3e.zip
FreeBSD-src-5e51a5bb2dd62a02928d25da5a90d8e11f29de3e.tar.gz
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.
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/secure/lib/Makefile b/secure/lib/Makefile
index 8aeb2bf..5c7165b 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
OpenPOWER on IntegriCloud