From d10f885ba077c897a9b52c612cc1798944fddc3e Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 25 Jan 2004 04:15:44 +0000 Subject: if we have determined that we need pkgsrc zlib, set BUILDLINK_DEPENDS.zlib instead of adding to it. fixes a problem where a buildlink dependency would be added on both zlib>=1.1.4nb1 and zlib>=1.2.1, resulting in various buildlink breakage. --- devel/zlib/buildlink3.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devel/zlib') diff --git a/devel/zlib/buildlink3.mk b/devel/zlib/buildlink3.mk index e57e721e817..c74a05ac16c 100644 --- a/devel/zlib/buildlink3.mk +++ b/devel/zlib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.6 2004/01/24 03:12:32 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2004/01/25 04:15:44 grant Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ ZLIB_BUILDLINK3_MK:= ${ZLIB_BUILDLINK3_MK}+ @@ -90,7 +90,7 @@ MAKEFLAGS+= BUILDLINK_USE_BUILTIN.zlib="${BUILDLINK_USE_BUILTIN.zlib}" # If we depend on the package, depend on the latest version with a library # major number bump. # -BUILDLINK_DEPENDS.zlib+= zlib>=1.2.1 +BUILDLINK_DEPENDS.zlib= zlib>=1.2.1 . if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= zlib . endif -- cgit v1.2.3