diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-01 14:05:46 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-01 14:05:46 +0000 |
commit | 2f79dc83eeb36556d10029ee636c21b20e3c3efa (patch) | |
tree | 52008c433094c4f9359d1abdf86534eb4b05a283 /lang/gcc3-c/Makefile | |
parent | 2b75a71604317fd862138c60918be111b376db89 (diff) | |
download | pkgsrc-2f79dc83eeb36556d10029ee636c21b20e3c3efa.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/Makefile | 15 |
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 |