1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Remove a bogus old check that assumes that every version of FreeBSD has

GCC in the base.

Adjust a comment, now describing the real purpose of the code remaining
in that block.

PR:		175252
This commit is contained in:
Gerald Pfeifer 2013-03-02 01:06:15 +00:00
parent cae75110cc
commit e819edf526
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313177

View File

@ -143,20 +143,16 @@ IGNORE= Unknown version of GCC specified (USE_GCC=${USE_GCC})
.endif
#
# Determine current GCCVERSION
# Initialize _GCC_FOUND${v}.
#
.for v in ${GCCVERSIONS}
. if exists(${LOCALBASE}/bin/gcc${_GCCVERSION_${v}_V:S/.//})
_GCC_FOUND${v}= port
. endif
. if ${OSVERSION} >= ${_GCCVERSION_${v}_L} && ${OSVERSION} < ${_GCCVERSION_${v}_R}
_GCCVERSION:= ${v}
_GCC_FOUND${v}:= base
. endif
.endfor
.if !defined(_GCCVERSION)
IGNORE= Couldn't find your current GCCVERSION (OSVERSION=${OSVERSION})
.endif
#
# If the GCC package defined in USE_GCC does not exist, but a later