[Midnightbsd-cvs] mports [22240] trunk/Mk/bsd.mport.mk: suck in Makefile.local if it exists in curdir.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Jan 27 12:20:26 EST 2017
Revision: 22240
http://svnweb.midnightbsd.org/mports/?rev=22240
Author: laffer1
Date: 2017-01-27 12:20:26 -0500 (Fri, 27 Jan 2017)
Log Message:
-----------
suck in Makefile.local if it exists in curdir.
Modified Paths:
--------------
trunk/Mk/bsd.mport.mk
Modified: trunk/Mk/bsd.mport.mk
===================================================================
--- trunk/Mk/bsd.mport.mk 2017-01-27 17:17:13 UTC (rev 22239)
+++ trunk/Mk/bsd.mport.mk 2017-01-27 17:20:26 UTC (rev 22240)
@@ -214,6 +214,9 @@
.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
# where 'make config' records user configuration options
More information about the Midnightbsd-cvs
mailing list