summaryrefslogtreecommitdiff
path: root/lang/gcc
diff options
context:
space:
mode:
authortnn <tnn>2008-02-01 07:50:01 +0000
committertnn <tnn>2008-02-01 07:50:01 +0000
commit0453f4ab8becc5ce05c7fb9e413de4064f00d774 (patch)
treeef6a0ea6b529bb141037eb08550ccc49fb6b6dd1 /lang/gcc
parenta6929cf1a06034058dd3d7dfdbae1af65110a0ce (diff)
downloadpkgsrc-0453f4ab8becc5ce05c7fb9e413de4064f00d774.tar.gz
gcc-2 needs to be built with gcc3 on netbsd-4. From Aleksej Saushev.
Diffstat (limited to 'lang/gcc')
-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*} == ""