From 8aaad277057f2c57772c157f19519a061819716c Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 11 Dec 2004 04:13:27 +0000 Subject: [PATCH] If built on a machine with GCC 3.2 or later; assume the machine has CPUTYPE set to something GCC 2.95 won't understand. Also, set NO_CDROM. --- lang/egcs/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/egcs/Makefile b/lang/egcs/Makefile index 84ba63c02683..06e618739d36 100644 --- a/lang/egcs/Makefile +++ b/lang/egcs/Makefile @@ -21,6 +21,7 @@ COMMENT= EGCS enhanced version of the GNU compiler suite USE_BZIP2= yes ONLY_FOR_ARCHS= i386 alpha +NO_CDROM= 'old version, not worth the cost in real estate' DEPRECATED= "This port is no longer in use by anything in the ports collection and will be removed in the future. Use a later release of gcc instead" @@ -29,6 +30,9 @@ DEPRECATED= "This port is no longer in use by anything in the ports collection a .if ${OSVERSION} >= 500113 BROKEN= "Does not compile (bad C++ code)" .endif +.if ${OSVERSION} >= 500039 +WITHOUT_CPU_CFLAGS= yes +.endif EGCS_REV= egcs-2.91.66