git: 6bc317ac2e53 - main - databases/openldap27-server: fix patch target for ldap.map.in

From: Xin LI <delphij_at_FreeBSD.org>
Date: Mon, 10 Aug 2026 07:26:26 UTC
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6bc317ac2e5339d5f6f12e90b76ab328392a693f

commit 6bc317ac2e5339d5f6f12e90b76ab328392a693f
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-08-10 07:22:25 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-08-10 07:26:07 +0000

    databases/openldap27-server: fix patch target for ldap.map.in
    
    In OpenLDAP 2.7.0, ldap.map was changed to a template (ldap.map.in)
    that is processed during configure. Update the post-patch sed target
    accordingly to fix build failure when DEBUG option is disabled.
    
    Reported by:    sunpoet
---
 databases/openldap27-server/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/openldap27-server/Makefile b/databases/openldap27-server/Makefile
index fb7c86e78423..98b577ff56c0 100644
--- a/databases/openldap27-server/Makefile
+++ b/databases/openldap27-server/Makefile
@@ -371,7 +371,7 @@ post-patch:
 .if !${PORT_OPTIONS:MDEBUG}
 	@${REINPLACE_CMD} -E \
 		-e '/ldap_dump_(connection|requests_and_responses);/d' \
-		${WRKSRC}/libraries/libldap/ldap.map
+		${WRKSRC}/libraries/libldap/ldap.map.in
 .endif
 
 post-patch-NSSOV-on: