summaryrefslogtreecommitdiff
path: root/lang/gcc3-c
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-05 03:45:13 +0000
committerjlam <jlam@pkgsrc.org>2004-02-05 03:45:13 +0000
commit6472620f7b8067224e5d6328b2518224f0fba0a4 (patch)
treec0d99ef3b301ac304dc1b5f79f7af2185307b64d /lang/gcc3-c
parentd9c0b79cbbceebe7c69517e8cdb5b0a7edc5dcbc (diff)
downloadpkgsrc-6472620f7b8067224e5d6328b2518224f0fba0a4.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/gcc3-c')
-rw-r--r--lang/gcc3-c/buildlink3.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/gcc3-c/buildlink3.mk b/lang/gcc3-c/buildlink3.mk
index 143abc8949c..0aa86178aae 100644
--- a/lang/gcc3-c/buildlink3.mk
+++ b/lang/gcc3-c/buildlink3.mk
@@ -1,16 +1,19 @@
-# $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}+
GCC3C_BUILDLINK3_MK:= ${GCC3C_BUILDLINK3_MK}+
.include "../../mk/bsd.prefs.mk"
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gcc3c
+.endif
+
.if !empty(GCC3C_BUILDLINK3_MK:M+)
. if defined(GCC3_INSTALLTO_SUBPREFIX)
GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
. endif
BUILDLINK_PACKAGES+= gcc3c
-BUILDLINK_DEPENDS+= gcc3c
BUILDLINK_DEPENDS.gcc3c+= gcc3${GCC3_PKGMODIF}-c>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc3c?= ../../lang/gcc3-c
BUILDLINK_LIBDIRS.gcc3c?= \