git: 2ee80e47061c - main - lang/yap: fix build after previous commit

From: Eugene Grosbein <eugen_at_FreeBSD.org>
Date: Mon, 15 Apr 2024 10:20:18 UTC
The branch main has been updated by eugen:

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

commit 2ee80e47061c13eaedcf3eeac0a32a43ecf14aea
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2024-04-15 10:18:41 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2024-04-15 10:20:10 +0000

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

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