pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc gcc-2 needs to be built with gcc3 on netbsd-4...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c86b9223854
branches:  trunk
changeset: 538203:8c86b9223854
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Feb 01 07:50:01 2008 +0000

description:
gcc-2 needs to be built with gcc3 on netbsd-4. From Aleksej Saushev.

diffstat:

 lang/gcc/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 7f92982f86d8 -r 8c86b9223854 lang/gcc/Makefile
--- a/lang/gcc/Makefile Fri Feb 01 02:35:56 2008 +0000
+++ b/lang/gcc/Makefile Fri Feb 01 07:50:01 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2007/06/12 20:10:17 joerg Exp $
+# $NetBSD: Makefile,v 1.91 2008/02/01 07:50:01 tnn Exp $
 
 DISTNAME=              gcc-2.95.3
 PKGREVISION=           7
@@ -43,6 +43,11 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if !empty(MACHINE_PLATFORM:MNetBSD-4*)
+GCC_REQD+=             3.0
+USE_PKGSRC_GCC=                yes
+.endif
+
 .if ${OPSYS} == "SunOS"
 CONFLICTS+=            gcc-[0-9]* pgcc-[0-9]*
 .  if ${CC:M*gcc*} == ""



Home | Main Index | Thread Index | Old Index