summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/gcc/Makefile7
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*} == ""