Created attachment 250901 [details] 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%%
> 3) fix make check-plist: > ===> Checking for items in STAGEDIR missing from pkg-plist > Error: Orphaned: @dir lib/%%DSPAM_OWNER%% If build with MYSQL option ON only.
Maintainer timeout 17 days - committing.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c1a1c023aecd89feacdbeec17566b2629cfa1d0 commit 2c1a1c023aecd89feacdbeec17566b2629cfa1d0 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-06-09 15:44:49 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-06-09 15:44:49 +0000 mail/dspam: fix configure with modern MariaDB 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 if build with MYSQL option ON only: ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: @dir lib/%%DSPAM_OWNER%% PR: 279253 Approved by: danny@dannywarren.com (maintainer, timeout 17 days) mail/dspam/Makefile | 2 -- mail/dspam/files/patch-configure (new) | 24 ++++++++++++++++++++++++ mail/dspam/pkg-plist | 1 + 3 files changed, 25 insertions(+), 2 deletions(-)