summaryrefslogtreecommitdiff
path: root/lang/gcc
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-05 03:45:13 +0000
committerjlam <jlam>2004-02-05 03:45:13 +0000
commit99834df6414218ced36f44a0dc09e6082461596e (patch)
treec0d99ef3b301ac304dc1b5f79f7af2185307b64d /lang/gcc
parente29b64895ca3616bcc9cc3082d962c426dcde793 (diff)
downloadpkgsrc-99834df6414218ced36f44a0dc09e6082461596e.tar.gz
bsd.compiler.mk no longer adds dependencies or includes buildlink*.mk files
if it's being included by bsd.prefs.mk, so we can safely move the BUILDLINK_DEPENDS line to its usual location.
Diffstat (limited to 'lang/gcc')
-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?= \