Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2015 20:36:08 +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: r397519 - head/Mk
Message-ID:  <201509212036.t8LKa8Vo016129@repo.freebsd.org>

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



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