Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 06:07:41 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290181 - head/share/mk
Message-ID:  <201510300607.t9U67f05096487@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Oct 30 06:07:41 2015
New Revision: 290181
URL: https://svnweb.freebsd.org/changeset/base/290181

Log:
  Unbreak bsd.progs.mk with PROGS (but not PROGS_CXX) and when invoking the
  "one of many" targets, e.g. `make hello_world`, where hello_world is a C
  program
  
  Tested with: PROGS and PROGS_CXX
  MFC after: 1 week
  X-MFC with: r289289
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.progs.mk

Modified: head/share/mk/bsd.progs.mk
==============================================================================
--- head/share/mk/bsd.progs.mk	Fri Oct 30 05:55:56 2015	(r290180)
+++ head/share/mk/bsd.progs.mk	Fri Oct 30 06:07:41 2015	(r290181)
@@ -31,7 +31,7 @@ UPDATE_DEPENDFILE_PROG = ${PROGS:[1]}
 # They may have asked us to build just one
 .for t in ${PROGS}
 .if make($t)
-.if ${PROGS_CXX:M${t}}
+.if ${PROGS_CXX:U:M${t}}
 PROG_CXX ?= $t
 .endif
 PROG ?= $t



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