svn commit: r464538 - head/Mk/Uses
Bryan Drewery
bdrewery at FreeBSD.org
Wed Mar 14 23:10:37 UTC 2018
Author: bdrewery
Date: Wed Mar 14 23:10:36 2018
New Revision: 464538
URL: https://svnweb.freebsd.org/changeset/ports/464538
Log:
PORTS_ENV: Rename OUTPUT_* to CC_OUTPUT_* to be more clearly related to compiler.mk.
This is purely a cosmetic change.
Approved by: portmgr (implicit)
Modified:
head/Mk/Uses/compiler.mk
Modified: head/Mk/Uses/compiler.mk
==============================================================================
--- head/Mk/Uses/compiler.mk Wed Mar 14 22:57:30 2018 (r464537)
+++ head/Mk/Uses/compiler.mk Wed Mar 14 23:10:36 2018 (r464538)
@@ -145,12 +145,12 @@ _LANG=c
.if ${CXXSTD:M${std}}
_LANG=c++
.endif
-.if defined(OUTPUT_${std:hash}_${_CC_hash})
-OUTPUT_${std}= ${OUTPUT_${std:hash}_${_CC_hash}}
+.if defined(CC_OUTPUT_${std:hash}_${_CC_hash})
+OUTPUT_${std}= ${CC_OUTPUT_${std:hash}_${_CC_hash}}
.else
OUTPUT_${std}!= ${CC} -std=${std} -c -x ${_LANG} /dev/null -o /dev/null 2>&1; echo yes
-OUTPUT_${std:hash}_${_CC_hash}= ${OUTPUT_${std}}
-PORTS_ENV_VARS+= OUTPUT_${std:hash}_${_CC_hash}
+CC_OUTPUT_${std:hash}_${_CC_hash}= ${OUTPUT_${std}}
+PORTS_ENV_VARS+= CC_OUTPUT_${std:hash}_${_CC_hash}
.endif
.if !${OUTPUT_${std}:M*error*}
COMPILER_FEATURES+= ${std}
More information about the svn-ports-head
mailing list