From owner-svn-src-head@freebsd.org Mon Apr 18 22:00:27 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEC41B1307E; Mon, 18 Apr 2016 22:00:27 +0000 (UTC) (envelope-from sjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCC0D1948; Mon, 18 Apr 2016 22:00:27 +0000 (UTC) (envelope-from sjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3IM0QFb026988; Mon, 18 Apr 2016 22:00:26 GMT (envelope-from sjg@FreeBSD.org) Received: (from sjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3IM0Q2o026987; Mon, 18 Apr 2016 22:00:26 GMT (envelope-from sjg@FreeBSD.org) Message-Id: <201604182200.u3IM0Q2o026987@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sjg set sender to sjg@FreeBSD.org using -f From: "Simon J. Gerraty" Date: Mon, 18 Apr 2016 22:00:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298229 - head/share/mk X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 22:00:28 -0000 Author: sjg Date: Mon Apr 18 22:00:26 2016 New Revision: 298229 URL: https://svnweb.freebsd.org/changeset/base/298229 Log: Allow -f dirdeps.mk some/dir with no TARGET_MACHINE spec Use $MACHINE if target does not specify. Reviewed by: bdrewery Modified: head/share/mk/dirdeps.mk Modified: head/share/mk/dirdeps.mk ============================================================================== --- head/share/mk/dirdeps.mk Mon Apr 18 21:11:55 2016 (r298228) +++ head/share/mk/dirdeps.mk Mon Apr 18 22:00:26 2016 (r298229) @@ -135,6 +135,9 @@ DIRDEPS := ${.TARGETS:M*[/.]*} DEP_RELDIR := ${DIRDEPS:[1]:R} # this will become DEP_MACHINE below TARGET_MACHINE := ${DIRDEPS:[1]:E:C/,.*//} +.if ${TARGET_MACHINE:N*/*} == "" +TARGET_MACHINE := ${MACHINE} +.endif # disable DIRDEPS_CACHE as it does not like this trick MK_DIRDEPS_CACHE = no .endif