From 6c6e96d7367bd8da3be5d94e139048a52e1b8d93 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 6 Jun 2010 17:17:04 +0000 Subject: [PATCH] USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+ is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be disconnected from the USE_GCC infrastructure soon. --- CHANGES | 7 +++++++ Mk/bsd.gcc.mk | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 5f79a2e73ead..f562bc45e77d 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,13 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20100606: +AUTHOR: gerald@FreeBSD.org + + * USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+ + is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be + disconnected from the USE_GCC infrastructure soon. + 20100524: AUTHOR: alepulver@FreeBSD.org diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index f5e46bafdb06..f3e94290d6a1 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -12,7 +12,10 @@ # the version. Note that the Fortran compiler is specified with the # USE_FORTRAN knob. # -# For example: +# As of 2010-06-06, USE_GCC=4.3 is deprecated and USE_GCC=4.3+ is +# transparently rewritten to USE_GCC=4.4+. +# +# Examples: # USE_GCC= 4.2+ # port requires GCC 4.2 or later. # USE_GCC= 4.5 # port requires GCC 4.5. # @@ -114,6 +117,11 @@ MAKE_ENV+= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}" .if defined(USE_GCC) +# USE_GCC=4.3 is deprecated... +.if ${USE_GCC} == 4.3+ +USE_GCC:=4.4+ +.endif + # See if we can use a later version _USE_GCC:= ${USE_GCC:S/+//} .if ${USE_GCC} != ${_USE_GCC}