diff options
-rw-r--r-- | lang/gcc/Makefile | 3 | ||||
-rw-r--r-- | lang/gcc/Makefile.gcc | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 133e9c2b821..c1dd92298c2 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -1,5 +1,6 @@ -# $NetBSD: Makefile,v 1.31 2002/01/03 20:40:39 tron Exp $ +# $NetBSD: Makefile,v 1.32 2002/01/03 21:39:54 tron Exp $ +# Make sure that the version number in "Makefile.gcc" matches this. DISTNAME= gcc-2.95.3 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gcc/} diff --git a/lang/gcc/Makefile.gcc b/lang/gcc/Makefile.gcc new file mode 100644 index 00000000000..1595560220e --- /dev/null +++ b/lang/gcc/Makefile.gcc @@ -0,0 +1,15 @@ +# $NetBSD: Makefile.gcc,v 1.1 2002/01/03 21:39:55 tron Exp $ + +.include "../../mk/bsd.prefs.mk" + +BUILD_DEPENDS+= gcc>=2.95.3:../../lang/gcc + +.if (${OPSYS} == SunOS) +CC= ${LOCALBASE}/bin/gcc +CPP= ${LOCALBASE}/bin/cpp +CXX= ${LOCALBASE}/bin/g++ +.else +CC= ${LOCALBASE}/gcc-2.95.3/bin/cc +CPP= ${LOCALBASE}/gcc-2.95.3/bin/cpp +CXX= ${LOCALBASE}/gcc-2.95.3/bin/c++ +.endif |