diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-24 03:26:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-24 03:26:45 +0000 |
commit | 36703166ad52da6259a7939e9260005dfcdd4109 (patch) | |
tree | 4963c5656e148ab0bec2e19df9ec8ccd15d2789f /graphics/png | |
parent | 062e685ab9a0a4197a01b664d1e0f909959dfdfb (diff) | |
download | pkgsrc-36703166ad52da6259a7939e9260005dfcdd4109.tar.gz |
Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> 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.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/png/buildlink3.mk b/graphics/png/buildlink3.mk index e5cbb396229..9589b3d6aaf 100644 --- a/graphics/png/buildlink3.mk +++ b/graphics/png/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:46 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:47 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PNG_BUILDLINK3_MK:= ${PNG_BUILDLINK3_MK}+ @@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= png .if !empty(PNG_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= png -BUILDLINK_DEPENDS.png?= png>=1.2.4 +BUILDLINK_DEPENDS.png+= png>=1.2.4 BUILDLINK_PKGSRCDIR.png?= ../../graphics/png . include "../../devel/zlib/buildlink3.mk" |