git: ad94950fa402 - main - mail/maildrop: Fix build with INOTIFY option

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Tue, 23 Dec 2025 12:06:14 UTC
The branch main has been updated by madpilot:

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

commit ad94950fa4021f280c2b7ea609b1263d0145c3e0
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-12-23 12:02:43 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-12-23 12:02:43 +0000

    mail/maildrop: Fix build with INOTIFY option
    
    MFH:            2025Q4
---
 mail/maildrop/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index 10b9408ca9c6..06269338df30 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -116,7 +116,7 @@ CONFIGURE_ARGS+=	--disable-authlib
 .endif
 
 post-patch-INOTIFY-on:
-	@${REINPLACE_CMD} -e 's|LIBS = @LIBS@|& ${LOCALBASE}/lib/libinotify.a /usr/lib/libpthread.a|' \
+	@${REINPLACE_CMD} -e 's|LIBS = @LIBS@|& ${LOCALBASE}/lib/libinotify.a -lpthread|' \
 		${WRKSRC}/libs/maildir/Makefile.in
 
 post-configure-INOTIFY-on: