diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-01 14:09:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-01 14:09:45 +0000 |
commit | 3fa5e2549ea3c3ff0995b82c907fef2b99ab5d92 (patch) | |
tree | a8a5470d2392e0e5886dde31ed95f991ddd23068 /lang | |
parent | 4356469d7f1c37c5de5bfb00430e5e7d2b357a1f (diff) | |
download | pkgsrc-3fa5e2549ea3c3ff0995b82c907fef2b99ab5d92.tar.gz |
Add a buildlink3.mk file for use by bsd.compiler.mk. Note that we always
add the dependency regardless of the depth.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc/buildlink3.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/gcc/buildlink3.mk b/lang/gcc/buildlink3.mk new file mode 100644 index 00000000000..c128794349c --- /dev/null +++ b/lang/gcc/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/01 14:09:45 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+ + +.include "../../mk/bsd.prefs.mk" + +.if !empty(GCC_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= gcc +BUILDLINK_DEPENDS+= gcc +BUILDLINK_DEPENDS.gcc+= gcc>=${_GCC_REQD} +BUILDLINK_PKGSRCDIR.gcc?= ../../lang/gcc + +# Packages that link against shared libraries need a full dependency. +. if defined(USE_GCC_SHLIB) +BUILDLINK_DEPMETHOD.gcc+= full +. else +BUILDLINK_DEPMETHOD.gcc?= build +. endif +.endif # GCC_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |