svn commit: r397519 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Mon Sep 21 20:36:08 UTC 2015


Author: bdrewery
Date: Mon Sep 21 20:36:07 2015
New Revision: 397519
URL: https://svnweb.freebsd.org/changeset/ports/397519

Log:
  Allow slave ports to have a Makefile.local.
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Sep 21 20:24:30 2015	(r397518)
+++ head/Mk/bsd.port.mk	Mon Sep 21 20:36:07 2015	(r397519)
@@ -1224,6 +1224,9 @@ USE_SUBMAKE=	yes
 .if exists(${MASTERDIR}/Makefile.local)
 .include "${MASTERDIR}/Makefile.local"
 USE_SUBMAKE=	yes
+.elif ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/Makefile.local)
+.include "${.CURDIR}/Makefile.local"
+USE_SUBMAKE=	yes
 .endif
 
 .for _CATEGORY in ${CATEGORIES}


More information about the svn-ports-head mailing list