diff options
author | tron <tron> | 2002-01-03 21:39:54 +0000 |
---|---|---|
committer | tron <tron> | 2002-01-03 21:39:54 +0000 |
commit | c1c08b3e896b0e8495e1367095f3bbf7f7ecae9a (patch) | |
tree | 18440da3e3bb2b9b162bee1108cff5e87935ed55 | |
parent | b3357fae021679585ef232cedf993b037e33a528 (diff) | |
download | pkgsrc-c1c08b3e896b0e8495e1367095f3bbf7f7ecae9a.tar.gz |
Provide a "Makefile.gcc" which can be used by other packages which need
this "gcc" version for building.
-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 |