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 | a7d877ca6ae0e78f0eb4e0e03e41202252e9f94f (patch) | |
tree | 4963c5656e148ab0bec2e19df9ec8ccd15d2789f /devel/libslang | |
parent | 01a5abff019d79930d9efe12799eb86c320e2823 (diff) | |
download | pkgsrc-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 'devel/libslang')
-rw-r--r-- | devel/libslang/buildlink3.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/libslang/buildlink3.mk b/devel/libslang/buildlink3.mk index 617a47d7b02..d049cda198a 100644 --- a/devel/libslang/buildlink3.mk +++ b/devel/libslang/buildlink3.mk @@ -1,17 +1,17 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBSLANG_BUILDLINK3_MK:= ${LIBSLANG_BUILDLINK3_MK}+ +.include "../../mk/bsd.prefs.mk" + .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= libslang .endif .if !empty(LIBSLANG_BUILDLINK3_MK:M+) -. include "../../mk/bsd.prefs.mk" - BUILDLINK_PACKAGES+= libslang -BUILDLINK_DEPENDS.libslang?= libslang>=1.4.9nb1 +BUILDLINK_DEPENDS.libslang+= libslang>=1.4.9nb1 BUILDLINK_PKGSRCDIR.libslang?= ../../devel/libslang # Debian adds a dependency on ncurses. |