summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-08-16 19:41:14 +0000
committeragc <agc>2002-08-16 19:41:14 +0000
commitb0cf32c6ad65d5d940b7cb6569f8767ca469a6cb (patch)
treed076ae384678c22b25c68e341a9bfd73bb57f9e0
parenteb1c44cca37a3f909504e36711f1bf50edc41abe (diff)
downloadpkgsrc-b0cf32c6ad65d5d940b7cb6569f8767ca469a6cb.tar.gz
Provide a sensible default for BUILDLINK_DEPENDS.openssl - noticed when
the in-tree openssl is < 0.9.6f, a previous package build has installed the openssl-0.9.6g package, but the BUILDLINK_DEPENDS.openssl value is not initialised, so that the package infrastructure tries to build and install the openssl-0.9.6g package again.
-rw-r--r--security/openssl/buildlink.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/openssl/buildlink.mk b/security/openssl/buildlink.mk
index a5a1986eb85..eb93bfa1ec3 100644
--- a/security/openssl/buildlink.mk
+++ b/security/openssl/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.18 2002/08/15 01:14:32 fredb Exp $
+# $NetBSD: buildlink.mk,v 1.19 2002/08/16 19:41:14 agc Exp $
#
# This Makefile fragment is included by packages that use OpenSSL.
#
@@ -80,6 +80,7 @@ BUILDLINK_DEPENDS.openssl= openssl>=0.9.6g
.endif # exists(${_OPENSSLV_H}) && exists(${_SSL_H})
.if ${_NEED_OPENSSL} == "YES"
+BUILDLINK_DEPENDS.openssl?= openssl>=0.9.6g
DEPENDS+= ${BUILDLINK_DEPENDS.openssl}:../../security/openssl
EVAL_PREFIX+= BUILDLINK_PREFIX.openssl=openssl
BUILDLINK_PREFIX.openssl_DEFAULT= ${LOCALBASE}