From owner-svn-ports-all@FreeBSD.ORG Sat Apr 4 05:33:46 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C137B75; Sat, 4 Apr 2015 05:33:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 8705C8F6; Sat, 4 Apr 2015 05:33:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t345XkHh028078; Sat, 4 Apr 2015 05:33:46 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t345XkcT028077; Sat, 4 Apr 2015 05:33:46 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201504040533.t345XkcT028077@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Sat, 4 Apr 2015 05:33:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383190 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 05:33:46 -0000 Author: bdrewery Date: Sat Apr 4 05:33:45 2015 New Revision: 383190 URL: https://svnweb.freebsd.org/changeset/ports/383190 Log: Fix invoking DEV tests when not in a port. This fixes some cases where 'make -f Mk/bsd.port.mk -V ...' would invoke the tests and cause unexpected errors such as with r370475. With hat: portmgr Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Sat Apr 4 04:45:06 2015 (r383189) +++ head/Mk/bsd.port.mk Sat Apr 4 05:33:45 2015 (r383190) @@ -1295,7 +1295,9 @@ WITH_DEBUG= yes # Start of pre-makefile section. .if !defined(AFTERPORTMK) && !defined(INOPTIONSMK) +.if defined(PORTNAME) .include "${PORTSDIR}/Mk/bsd.sanity.mk" +.endif _PREMKINCLUDED= yes