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 /lang/libperl | |
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 'lang/libperl')
-rw-r--r-- | lang/libperl/buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/libperl/buildlink3.mk b/lang/libperl/buildlink3.mk index 5a00c656103..cbb8422756c 100644 --- a/lang/libperl/buildlink3.mk +++ b/lang/libperl/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}+ LIBPERL_BUILDLINK3_MK:= ${LIBPERL_BUILDLINK3_MK}+ @@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libperl .if !empty(LIBPERL_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= libperl -BUILDLINK_DEPENDS.libperl?= {libperl>=${LIBPERL5_REQD},perl>=5.8.0} +BUILDLINK_DEPENDS.libperl+= {libperl>=${LIBPERL5_REQD},perl>=5.8.0} BUILDLINK_PKGSRCDIR.libperl?= ../../lang/libperl LIBPERL5_REQD?= ${PERL5_REQD} |