git: ad34c4d8826d - main - targets/Makefile.inc skip updates

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Mon, 14 Oct 2024 18:35:42 UTC
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=ad34c4d8826d37a81fa7789a7b2d039db6198572

commit ad34c4d8826d37a81fa7789a7b2d039db6198572
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2024-10-14 18:09:51 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2024-10-14 18:34:55 +0000

    targets/Makefile.inc skip updates
    
    When PKG_METHOD is "no" or "none" we should *not*
    attempt to update Makefile.depend.
    
    Reviewed by:    stevek
---
 targets/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/Makefile.inc b/targets/Makefile.inc
index 6a30d2e35e89..ae147b647baf 100644
--- a/targets/Makefile.inc
+++ b/targets/Makefile.inc
@@ -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