diff options
author | tnn <tnn@pkgsrc.org> | 2008-02-01 07:50:01 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-02-01 07:50:01 +0000 |
commit | 72d4d1ec174525ed6c6038ffce1257372a133ea0 (patch) | |
tree | ef6a0ea6b529bb141037eb08550ccc49fb6b6dd1 /lang | |
parent | c1dd16453912c63168c5c74ef7a3be6afd161e3c (diff) | |
download | pkgsrc-72d4d1ec174525ed6c6038ffce1257372a133ea0.tar.gz |
gcc-2 needs to be built with gcc3 on netbsd-4. From Aleksej Saushev.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 3efedfb9697..f681103223f 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -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 @@ INFO_FILES= # PLIST .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*} == "" |