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 /devel/pthread-sem | |
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 'devel/pthread-sem')
-rw-r--r-- | devel/pthread-sem/buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/pthread-sem/buildlink3.mk b/devel/pthread-sem/buildlink3.mk index a4d073bb888..20aa33634e0 100644 --- a/devel/pthread-sem/buildlink3.mk +++ b/devel/pthread-sem/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/01/20 21:29:10 rh Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/01/24 03:26:46 jlam Exp $ # # This Makefile fragment is included by packages that use pthread-sem. # @@ -12,7 +12,7 @@ BUILDLINK_DEPENDS+= pthread-sem .if !empty(PTHREAD_SEM_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= pthread-sem -BUILDLINK_DEPENDS.pthread-sem?= pthread-sem>=1.0 +BUILDLINK_DEPENDS.pthread-sem+= pthread-sem>=1.0 BUILDLINK_PKGSRCDIR.pthread-sem?= ../../devel/pthread-sem .endif # PTHREAD_SEM_BUILDLINK3_MK |