Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 05:33:46 +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: r383190 - head/Mk
Message-ID:  <201504040533.t345XkcT028077@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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