summaryrefslogtreecommitdiff
path: root/lang/gcc3-c/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-01 14:05:46 +0000
committerjlam <jlam@pkgsrc.org>2004-02-01 14:05:46 +0000
commitdb448130dd2612ac17d40b109753881e706feb02 (patch)
tree52008c433094c4f9359d1abdf86534eb4b05a283 /lang/gcc3-c/Makefile
parentafb8c353e08fce15c47f31598e822940bab1abaa (diff)
downloadpkgsrc-db448130dd2612ac17d40b109753881e706feb02.tar.gz
bl3ify the gcc3-* packages. Also provide buildlink[23].mk files for use
by bsd.compiler.mk. Note that in the buildlink3.mk files, the dependency is always added regardless of the BUILDLINK_DEPTH. This is because these buildlink3.mk files may be included by bsd.prefs.mk, which is often included other buildlink3.mk files, and we need to ensure that regardless of the depth, we are using the correct compiler.
Diffstat (limited to 'lang/gcc3-c/Makefile')
-rw-r--r--lang/gcc3-c/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/lang/gcc3-c/Makefile b/lang/gcc3-c/Makefile
index 400723ca9ef..794cc639caf 100644
--- a/lang/gcc3-c/Makefile
+++ b/lang/gcc3-c/Makefile
@@ -1,16 +1,19 @@
-# $NetBSD: Makefile,v 1.7 2003/08/11 14:16:00 drochner Exp $
-#
+# $NetBSD: Makefile,v 1.8 2004/02/01 14:05:46 jlam Exp $
-PKGNAME= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}
-COMMENT= GNU Compiler Collection, version 3, C compiler
+PKGNAME= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}
+COMMENT= GNU Compiler Collection, v3 - C compiler
INFO_FILES= cpp.info gcc.info gccint.info cppinternals.info
.include "Makefile.common"
-# the "gcc" frontend knows all languages (by patch)
+# The "gcc" frontend knows all languages (by patch)
CONFIGURE_ARGS+= --enable-languages=c
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+.if empty(CC_VERSION:Mgcc-*)
+ALL_TARGET= bootstrap
+.endif
post-build:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk