summaryrefslogtreecommitdiff
path: root/x11/Xrandr-mixedcase/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-24 03:26:45 +0000
committerjlam <jlam@pkgsrc.org>2004-01-24 03:26:45 +0000
commita7d877ca6ae0e78f0eb4e0e03e41202252e9f94f (patch)
tree4963c5656e148ab0bec2e19df9ec8ccd15d2789f /x11/Xrandr-mixedcase/buildlink3.mk
parent01a5abff019d79930d9efe12799eb86c320e2823 (diff)
downloadpkgsrc-a7d877ca6ae0e78f0eb4e0e03e41202252e9f94f.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 'x11/Xrandr-mixedcase/buildlink3.mk')
-rw-r--r--x11/Xrandr-mixedcase/buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/Xrandr-mixedcase/buildlink3.mk b/x11/Xrandr-mixedcase/buildlink3.mk
index 479dcd71691..cb9294ee99e 100644
--- a/x11/Xrandr-mixedcase/buildlink3.mk
+++ b/x11/Xrandr-mixedcase/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XRANDR_BUILDLINK3_MK:= ${XRANDR_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= Xrandr
BUILDLINK_IS_BUILTIN.Xrender?= no
.if !empty(XRANDR_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.Xrandr?= Xrandr>=1.0.1
+BUILDLINK_DEPENDS.Xrandr+= Xrandr>=1.0.1
BUILDLINK_PKGSRCDIR.Xrandr?= ../../x11/Xrandr
BUILDLINK_PACKAGES+= Xrandr
.endif # XRANDR_BUILDLINK3_MK