From 2df95bedb47185de408a846f9b4634132b53fa5b Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 16 Aug 2002 19:41:14 +0000 Subject: 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. --- security/openssl/buildlink.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3