[Bug 279253] mail/dspam: fix configure with modern MariaDB

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 May 2024 14:38:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279253

            Bug ID: 279253
           Summary: mail/dspam: fix configure with modern MariaDB
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vvd@FreeBSD.org
                CC: danny@dannywarren.com
             Flags: maintainer-feedback?(danny@dannywarren.com)
                CC: danny@dannywarren.com

Created attachment 250901
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250901&action=edit
fix configure with modern MariaDB

As part of fix exp-run:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277922

1) Configure fails with error message:
checking for MySQL client version >= 5.0.0... no
configure: error: Required version of libmysqlclient not found

It check "mysql_get_client_info() > 5", but modern MariaDB return Connector/C's
version 3.x instead of MariaDB version.
How to get the correct version found here:
https://github.com/pali/DBD-MariaDB/commit/9743bec52db5e8f1beb2b31e4a55d6ea1a4edcdd

While here:
2) remove GNU_CONFIGURE_MANPREFIX
3) fix make check-plist:
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir lib/%%DSPAM_OWNER%%

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