pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl Only check if we need to add the rsar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85e24a16f92d
branches:  trunk
changeset: 461086:85e24a16f92d
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Sep 10 16:25:25 2003 +0000

description:
Only check if we need to add the rsaref dependency if we need the pkgsrc
openssl.

diffstat:

 security/openssl/buildlink2.mk |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 47c3b8cfd6ee -r 85e24a16f92d security/openssl/buildlink2.mk
--- a/security/openssl/buildlink2.mk    Wed Sep 10 16:24:07 2003 +0000
+++ b/security/openssl/buildlink2.mk    Wed Sep 10 16:25:25 2003 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index