Ensure our dependencies also work properly when GCC_DEFAULT is one of

the older versions, in particular 4.9 which is the last working on SPARC.

Reported by:	linimon
This commit is contained in:
Gerald Pfeifer 2017-12-03 13:59:53 +00:00
parent 34e60e1c37
commit dadf9b1fa7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455405

View file

@ -10,7 +10,9 @@ DISTFILES= # not applicable
MAINTAINER= gerald@FreeBSD.org
COMMENT= Meta-port for the default version of the GNU Compiler Collection
RUN_DEPENDS= gcc${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT}
# Once GCC 4.9 and 4.8 aren't options any longer, we can simply use
# GCC_DEFAULT again below (the expression rewrites 4.9 to 49).
RUN_DEPENDS= gcc${GCC_DEFAULT:S/.//}:lang/gcc${GCC_DEFAULT:S/.//}
NO_ARCH= yes
NO_BUILD= yes