git: a84d56840cff - main - mail/courier-imap: Link dinamically to libinotify

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sun, 15 Jun 2025 11:12:39 UTC
The branch main has been updated by madpilot:

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

commit a84d56840cffdb01d3bd81453354f647ae46c33e
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-06-15 11:12:13 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-06-15 11:12:13 +0000

    mail/courier-imap: Link dinamically to libinotify
---
 mail/courier-imap/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 6f64f5841307..89e4c2a26574 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -113,7 +113,7 @@ post-patch:
 		${WRKSRC}/Makefile.in
 
 post-patch-INOTIFY-on:
-	@${REINPLACE_CMD} -e 's|LIBS = @LIBS@|& ${LOCALBASE}/lib/libinotify.a /usr/lib/libpthread.a|' \
+	@${REINPLACE_CMD} -e 's|LIBS = @LIBS@|& -L${LOCALBASE}/lib -linotify -lpthread|' \
 		${WRKSRC}/libs/maildir/Makefile.in \
 		${WRKSRC}/libs/imap/Makefile.in