[Bug 274190] mail/claws-mail: links with net/openldap26-client if installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Oct 2023 05:14:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274190

Xin LI <delphij@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |portmaster@bsdforge.com

--- Comment #1 from Xin LI <delphij@FreeBSD.org> ---
The problem is that Makefile.claws is incorrectly overriding CONFIGURE_ARGS. 
This makes all option-derived CONFIGURE_ARGS to get lost.

Something like this would fix it.


===
diff --git a/mail/claws-mail/Makefile.claws b/mail/claws-mail/Makefile.claws
index 53ee30e66310..9ea0a1b576fe 100644
--- a/mail/claws-mail/Makefile.claws
+++ b/mail/claws-mail/Makefile.claws
@@ -8,7 +8,7 @@ LICENSE=        GPLv3
 USES+=         autoreconf gettext-tools gmake iconv libtool pkgconfig tar:xz
 GNU_CONFIGURE= yes

-CONFIGURE_ARGS=        ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static
+CONFIGURE_ARGS+=       ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static

 .include "${.CURDIR}/../claws-mail/Makefile.ver"
 .include "${.CURDIR}/../claws-mail/Makefile.claws.plugins"

-- 
You are receiving this mail because:
You are the assignee for the bug.