summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/openssl/buildlink2.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/openssl/buildlink2.mk b/security/openssl/buildlink2.mk
index 5baa4d7c805..f7c9c345285 100644
--- a/security/openssl/buildlink2.mk
+++ b/security/openssl/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.6 2003/08/04 17:28:23 jmc Exp $
+# $NetBSD: buildlink2.mk,v 1.7 2003/09/10 16:25:25 jlam Exp $
#
# Optionally define USE_OPENSSL_VERSION to the mininum OpenSSL version
# number in <openssl/opensslv.h>, i.e. 0x0090600fL, etc.
@@ -117,8 +117,10 @@ BUILDLINK_FILES.openssl+= lib/libRSAglue.*
BUILDLINK_FILES.openssl+= lib/libcrypto.*
BUILDLINK_FILES.openssl+= lib/libssl.*
-.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
-. include "../../security/rsaref/buildlink2.mk"
+.if ${_NEED_OPENSSL} == "YES"
+. if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
+. include "../../security/rsaref/buildlink2.mk"
+. endif
.endif
BUILDLINK_TARGETS+= openssl-buildlink