aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc')
-rw-r--r--lang/gcc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 1ac28d75436e..e15915d34df8 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -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