summaryrefslogtreecommitdiff
path: root/lang/gcc3-c/language.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc3-c/language.mk')
-rw-r--r--lang/gcc3-c/language.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/gcc3-c/language.mk b/lang/gcc3-c/language.mk
index 2deda6777a1..32a00188455 100644
--- a/lang/gcc3-c/language.mk
+++ b/lang/gcc3-c/language.mk
@@ -1,10 +1,13 @@
-# $NetBSD: language.mk,v 1.3 2004/02/10 19:31:27 jlam Exp $
+# $NetBSD: language.mk,v 1.4 2004/02/12 11:40:45 jlam Exp $
-.include "../../lang/gcc3-c/Makefile.common"
+BUILDLINK_DEPENDS.gcc3c+= gcc3${GCC3_PKGMODIF}-c>=${GCC_VERSION}
+BUILDLINK_DEPMETHOD.gcc3c+= full
-DEPENDS+= gcc3${GCC3_PKGMODIF}-c>=${GCC_VERSION}:../../lang/gcc3-c
+.include "../../lang/gcc3-c/Makefile.common"
pre-build:
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h
${LN} -sf ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
+
+.include "../gcc3-c/buildlink3.mk"