From 36703166ad52da6259a7939e9260005dfcdd4109 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 24 Jan 2004 03:26:45 +0000 Subject: Append to BUILDLINK_DEPENDS. instead of setting a default value. In the normal case when BUILDLINK_DEPENDS. isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS. be a list allows for the strictest dependency to be matched. --- audio/libcddb/buildlink3.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'audio/libcddb') diff --git a/audio/libcddb/buildlink3.mk b/audio/libcddb/buildlink3.mk index a3632ddac57..7a05d4b1040 100644 --- a/audio/libcddb/buildlink3.mk +++ b/audio/libcddb/buildlink3.mk @@ -1,5 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2004/01/17 15:32:33 recht Exp $ -# +# $NetBSD: buildlink3.mk,v 1.3 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBCDDB_BUILDLINK3_MK:= ${LIBCDDB_BUILDLINK3_MK}+ @@ -9,9 +8,9 @@ BUILDLINK_DEPENDS+= libcddb .endif .if !empty(LIBCDDB_BUILDLINK3_MK:M+) -BUILDLINK_PACKAGES+= libcddb -BUILDLINK_DEPENDS.libcddb?= libcddb>=0.9.4 -BUILDLINK_PKGSRCDIR.libcddb?= ../../audio/libcddb +BUILDLINK_PACKAGES+= libcddb +BUILDLINK_DEPENDS.libcddb+= libcddb>=0.9.4 +BUILDLINK_PKGSRCDIR.libcddb?= ../../audio/libcddb .include "../../misc/libcdio/buildlink3.mk" -- cgit v1.2.3