summaryrefslogtreecommitdiff
path: root/lang/gcc/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc/buildlink3.mk')
-rw-r--r--lang/gcc/buildlink3.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/gcc/buildlink3.mk b/lang/gcc/buildlink3.mk
index ca1e7f77ec5..795bb8de46c 100644
--- a/lang/gcc/buildlink3.mk
+++ b/lang/gcc/buildlink3.mk
@@ -1,13 +1,16 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/02/05 00:28:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2004/02/05 03:45:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+
.include "../../mk/bsd.prefs.mk"
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gcc
+.endif
+
.if !empty(GCC_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= gcc
-BUILDLINK_DEPENDS+= gcc
BUILDLINK_DEPENDS.gcc+= gcc>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc?= ../../lang/gcc
BUILDLINK_LIBDIRS.gcc?= \