Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 21:12:51 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305156 - head/usr.bin
Message-ID:  <201608312112.u7VLCpP2014019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Aug 31 21:12:50 2016
New Revision: 305156
URL: https://svnweb.freebsd.org/changeset/base/305156

Log:
  users: don't build when we don't have a C++ toolchain
  
  (On RISC-V MK_CXX is in BROKEN_OPTIONS, so users remains skipped there.)
  
  Reviewed by:	bdrewery
  Differential Revision:	https://reviews.freebsd.org/D7725

Modified:
  head/usr.bin/Makefile

Modified: head/usr.bin/Makefile
==============================================================================
--- head/usr.bin/Makefile	Wed Aug 31 21:04:58 2016	(r305155)
+++ head/usr.bin/Makefile	Wed Aug 31 21:12:50 2016	(r305156)
@@ -294,7 +294,7 @@ SUBDIR.${MK_VT}+=	vtfontcvt
 SUBDIR.${MK_USB}+=	usbhidaction
 SUBDIR.${MK_USB}+=	usbhidctl
 SUBDIR.${MK_UTMPX}+=	last
-.if ${MACHINE_CPUARCH} != "riscv" # RISCVTODO users does not build
+.if ${MK_CXX} != "no"
 SUBDIR.${MK_UTMPX}+=	users
 .endif
 SUBDIR.${MK_UTMPX}+=	who



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