targets/Makefile.inc skip updates

When PKG_METHOD is "no" or "none" we should *not*
attempt to update Makefile.depend.

Reviewed by:	stevek
This commit is contained in:
Simon J. Gerraty 2024-10-14 11:09:51 -07:00
parent 6b135dd607
commit ad34c4d882

View File

@ -34,7 +34,7 @@ PKG_METHOD = no
.endif
.endif
.if ${PKG_METHOD:Mno*} != ""
.if ${PKG_METHOD:Nno*} != ""
all: ${PKG_METHOD}
# set this to "no" for manual control