diff options
author | jlam <jlam> | 2004-01-24 03:26:45 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-24 03:26:45 +0000 |
commit | 440980b1a0312d6e257bdcd9701be6cda7245363 (patch) | |
tree | 4963c5656e148ab0bec2e19df9ec8ccd15d2789f /devel/pthread-sem | |
parent | b55df09dd3f22e24a0d60d25cfe2b25d641e6335 (diff) | |
download | pkgsrc-440980b1a0312d6e257bdcd9701be6cda7245363.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 |