Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2018 19:31:14 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464725 - head/Mk/Uses
Message-ID:  <201803161931.w2GJVEX5094324@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Mar 16 19:31:14 2018
New Revision: 464725
URL: https://svnweb.freebsd.org/changeset/ports/464725

Log:
  Don't add 'yes' onto the end of errored std output lookups.

Modified:
  head/Mk/Uses/compiler.mk

Modified: head/Mk/Uses/compiler.mk
==============================================================================
--- head/Mk/Uses/compiler.mk	Fri Mar 16 18:53:44 2018	(r464724)
+++ head/Mk/Uses/compiler.mk	Fri Mar 16 19:31:14 2018	(r464725)
@@ -148,7 +148,7 @@ _LANG=c++
 .if defined(CC_OUTPUT_${_CC_hash}_${std:hash})
 OUTPUT_${std}=	${CC_OUTPUT_${_CC_hash}_${std:hash}}
 .else
-OUTPUT_${std}!=	${CC} -std=${std} -c -x ${_LANG} /dev/null -o /dev/null 2>&1; echo yes
+OUTPUT_${std}!=	if ${CC} -std=${std} -c -x ${_LANG} /dev/null -o /dev/null 2>&1; then echo yes; fi; echo
 CC_OUTPUT_${_CC_hash}_${std:hash}=	${OUTPUT_${std}}
 PORTS_ENV_VARS+=			CC_OUTPUT_${_CC_hash}_${std:hash}
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803161931.w2GJVEX5094324>