diff options
Diffstat (limited to 'lang/gcc/Makefile.gcc')
-rw-r--r-- | lang/gcc/Makefile.gcc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/gcc/Makefile.gcc b/lang/gcc/Makefile.gcc index 478282beb8a..91248f40bb5 100644 --- a/lang/gcc/Makefile.gcc +++ b/lang/gcc/Makefile.gcc @@ -1,7 +1,10 @@ -# $NetBSD: Makefile.gcc,v 1.2 2002/03/25 14:43:35 cjep Exp $ +# $NetBSD: Makefile.gcc,v 1.3 2002/03/28 10:11:50 jmc Exp $ .include "../../mk/bsd.prefs.mk" +GCC_VERSION!= gcc --version +.if (${GCC_VERSION} != "2.95.3") || defined(${GCC_FORCE_BUILD}) + BUILD_DEPENDS+= gcc>=2.95.3:../../lang/gcc .if (${OPSYS} == SunOS) @@ -15,3 +18,4 @@ CPP= ${LOCALBASE}/gcc-2.95.3/bin/cpp CXX= ${LOCALBASE}/gcc-2.95.3/bin/c++ F77= ${LOCALBASE}/gcc-2.95.3/bin/g77 .endif +.endif |