git: c5f4f3df22ea - main - lang/yap: fix build after previous commits

From: Eugene Grosbein <eugen_at_FreeBSD.org>
Date: Wed, 01 May 2024 16:18:40 UTC
The branch main has been updated by eugen:

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

commit c5f4f3df22ea64f9ff990db7ae85b07ea61611aa
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2024-05-01 16:17:51 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2024-05-01 16:17:51 +0000

    lang/yap: fix build after previous commits
    
    Make pre-configure even more robust.
---
 lang/yap/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index 8ea4c5365493..0080e8b6b313 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -54,7 +54,7 @@ CONFIGURE_ENV+=	CFLAGS="${CFLAGS}"
 
 .if ${OPSYS} == FreeBSD && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 180
 pre-configure:
-	${REINPLACE_CMD} 's/-export-dynamic/-Wl,--export-dynamic/' \
+	${REINPLACE_CMD} 's/ -export-dynamic/ -Wl,--export-dynamic/' \
 		${WRKSRC}/configure ${WRKSRC}/packages/cplint/slipcase/Makefile.in
 .endif