git: 076712402446 - main - Mk/bsd.port.mk: fix the fix of the fix

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Fri, 18 Sep 2026 13:49:28 UTC
The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=076712402446e5e4538f68d4cbe10da17a146a32

commit 076712402446e5e4538f68d4cbe10da17a146a32
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2026-09-18 13:48:28 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2026-09-18 13:48:28 +0000

    Mk/bsd.port.mk: fix the fix of the fix
    
    Fixes:  20f33287b0595c202d793ae03b555e18bca17ffe
---
 Mk/bsd.port.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 9d221719f531..a1de8d064533 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3144,7 +3144,7 @@ ${_target}:
 	@printf '%s\n' "${site}" >> ${_PATCH_SITES_FILE}
 .          endfor
 .          for file in ${PATCHFILES}
-	@printf '%s\n' "${file:C/:p[0-9]//}" >> ${_PATCHFILES_FILE}
+	@printf '%s\n' "${file:C/:-p[0-9]//}" >> ${_PATCHFILES_FILE}
 .          endfor
 	@${SETENV} \
 			${_DO_FETCH_ENV} \