diff options
author | grant <grant@pkgsrc.org> | 2004-07-03 12:15:22 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-07-03 12:15:22 +0000 |
commit | c40debb342c1527f7820de869b0aff0b70af3f90 (patch) | |
tree | 7d0c22d3fab6ad858174549520dffc098faa6bec /lang/gcc3 | |
parent | db60d936d81ac24dfe7ad5312029d41c6ad5f65b (diff) | |
download | pkgsrc-c40debb342c1527f7820de869b0aff0b70af3f90.tar.gz |
always build gcc3 sub-packages with gcc3-c.
Diffstat (limited to 'lang/gcc3')
-rw-r--r-- | lang/gcc3/Makefile.common | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/gcc3/Makefile.common b/lang/gcc3/Makefile.common index 0a2e6605355..0f237c72133 100644 --- a/lang/gcc3/Makefile.common +++ b/lang/gcc3/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.7 2004/07/03 06:49:18 grant Exp $ +# $NetBSD: Makefile.common,v 1.8 2004/07/03 12:15:22 grant Exp $ GCC_VERSION= 3.3.4 DISTNAME= gcc-${GCC_VERSION} @@ -98,6 +98,13 @@ CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --disable-shared .endif +# gcc3 sub-packages must be built with gcc3. +.if defined(PKGNAME) && empty(PKGNAME:Mgcc3-c-[0-9]*) +ONLY_FOR_COMPILER+= gcc +PKGSRC_COMPILER:= gcc ${PKGSRC_COMPILER} +GCC_REQD+= ${GCC_VERSION} +.endif + .include "../../mk/compiler.mk" .if ${OPSYS} == "IRIX" |