summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-10 16:25:25 +0000
committerjlam <jlam>2003-09-10 16:25:25 +0000
commita41e0619f222381de346cac68d7c782e1f2d1d8c (patch)
tree3450219d2e506dc03445c748f02be8074e4142fe /security
parentd01e02b0a00cef95e467c86392d8633d9760f14e (diff)
downloadpkgsrc-a41e0619f222381de346cac68d7c782e1f2d1d8c.tar.gz
Only check if we need to add the rsaref dependency if we need the pkgsrc
openssl.
Diffstat (limited to 'security')
-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