aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-09-22 04:36:07 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-09-22 04:36:07 +0800
commit8e31b81f8f456cc55378e8608aba26519c8f24d3 (patch)
tree848cf33bd0945e0b69820f647fc34f92b25b91af
parent5d26dc234c30c3c98dcd4e65b88f4bcb214faf73 (diff)
downloadfreebsd-ports-gnome-8e31b81f8f456cc55378e8608aba26519c8f24d3.tar.gz
freebsd-ports-gnome-8e31b81f8f456cc55378e8608aba26519c8f24d3.tar.zst
freebsd-ports-gnome-8e31b81f8f456cc55378e8608aba26519c8f24d3.zip
Allow slave ports to have a Makefile.local.
With hat: portmgr
-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}