Allow slave ports to have a Makefile.local.

With hat:	portmgr
This commit is contained in:
Bryan Drewery 2015-09-21 20:36:07 +00:00
parent 9b77b73e13
commit e96570e177
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397519

View file

@ -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}