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
commit2a69e604f0733b38dbed0cd2f0c84040007d4474 (patch)
treec0d99ef3b301ac304dc1b5f79f7af2185307b64d /lang/gcc3-c
parent151fa260e5e3390c23e3c52360179cf16900dfb9 (diff)
downloadpkgsrc-2a69e604f0733b38dbed0cd2f0c84040007d4474.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?= \