summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2015-01-04 09:29:49 +0000
committergerald <gerald@FreeBSD.org>2015-01-04 09:29:49 +0000
commiteeca37202cee62237e8881db87dc0b202269fa7c (patch)
treee1497f62d4dca142b089efa6e83b01247b2986ac
parentcdccfd87fb6a21539ee2040eba1293eb5ed2a1e6 (diff)
downloadFreeBSD-ports-eeca37202cee62237e8881db87dc0b202269fa7c.zip
FreeBSD-ports-eeca37202cee62237e8881db87dc0b202269fa7c.tar.gz
Rename the somewhat confusingly named GCC_DEFAULT_V to LANG_GCC_IS.
(The regular GCC_DEFAULT is still set in bsd.default-versions.mk.)
-rw-r--r--Mk/bsd.gcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 77a2d5b..822caf9 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -48,7 +48,7 @@ GCCVERSION_040900= 0 0 4.9
GCCVERSION_050000= 0 0 5
# Version of lang/gcc
-GCC_DEFAULT_V= 4.8
+LANG_GCC_IS= 4.8
# No configurable parts below this. ####################################
#
@@ -150,7 +150,7 @@ _USE_GCC:= ${GCC_DEFAULT}
. if ${OSVERSION} < ${_GCCVERSION_${v}_L} || ${OSVERSION} > ${_GCCVERSION_${v}_R} || !exists(/usr/bin/gcc)
V:= ${_GCCVERSION_${v}_V:S/.//}
_GCC_PORT_DEPENDS:= gcc${V}
-. if ${_USE_GCC} == ${GCC_DEFAULT_V}
+. if ${_USE_GCC} == ${LANG_GCC_IS}
_GCC_PORT:= gcc
. else
_GCC_PORT:= gcc${V}
OpenPOWER on IntegriCloud