pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc3 always build gcc3 sub-packages with gcc3-c.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50da7687850e
branches:  trunk
changeset: 477472:50da7687850e
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Jul 03 12:15:22 2004 +0000

description:
always build gcc3 sub-packages with gcc3-c.

diffstat:

 lang/gcc3/Makefile.common |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 6b8862a0df2f -r 50da7687850e lang/gcc3/Makefile.common
--- a/lang/gcc3/Makefile.common Sat Jul 03 12:03:11 2004 +0000
+++ b/lang/gcc3/Makefile.common Sat Jul 03 12:15:22 2004 +0000
@@ -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+=       --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"



Home | Main Index | Thread Index | Old Index