svn commit: r383190 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Sat Apr 4 05:33:46 UTC 2015
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
More information about the svn-ports-all
mailing list