aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-09-21 20:36:07 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-09-21 20:36:07 +0000
commite96570e177eecaf91fdb37e11d872616ecf8039f (patch)
tree848cf33bd0945e0b69820f647fc34f92b25b91af /Mk
parent9b77b73e134cfbcc80193704a3ddb14e14541ebc (diff)
downloadports-e96570e177eecaf91fdb37e11d872616ecf8039f.tar.gz
ports-e96570e177eecaf91fdb37e11d872616ecf8039f.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index db6d446f0658..c3b82b2daf5e 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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}