svn commit: r376187 - head/Mk

Gerald Pfeifer gerald at FreeBSD.org
Sun Jan 4 09:29:51 UTC 2015


Author: gerald
Date: Sun Jan  4 09:29:49 2015
New Revision: 376187
URL: https://svnweb.freebsd.org/changeset/ports/376187
QAT: https://qat.redports.org/buildarchive/r376187/

Log:
  Rename the somewhat confusingly named GCC_DEFAULT_V to LANG_GCC_IS.
  (The regular GCC_DEFAULT is still set in bsd.default-versions.mk.)

Modified:
  head/Mk/bsd.gcc.mk

Modified: head/Mk/bsd.gcc.mk
==============================================================================
--- head/Mk/bsd.gcc.mk	Sun Jan  4 09:27:05 2015	(r376186)
+++ head/Mk/bsd.gcc.mk	Sun Jan  4 09:29:49 2015	(r376187)
@@ -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}


More information about the svn-ports-all mailing list