diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-09-22 04:36:07 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-09-22 04:36:07 +0800 |
commit | 8e31b81f8f456cc55378e8608aba26519c8f24d3 (patch) | |
tree | 848cf33bd0945e0b69820f647fc34f92b25b91af | |
parent | 5d26dc234c30c3c98dcd4e65b88f4bcb214faf73 (diff) | |
download | freebsd-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.mk | 3 |
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} |