[Bug 273370] irc/anope: MySQL database support not working with databases/mariadb106-client

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Aug 2023 13:30:48 UTC

--- Comment #1 from Fabian Wenk <fabian@wenks.ch> ---
As Sadie recommended the patch irc/anope/files/patch-modules_extra_m__mysql.cpp
does prevent anope from building with mysql, I have removed it and tried to
build again, which now gives a build error:

riddler:/usr/ports/irc/anope/ # rm files/patch-modules_extra_m__mysql.cpp 
riddler:/usr/ports/irc/anope/ # make      
===>  Applying FreeBSD patches for anope-2.0.14 from /usr/ports/irc/anope/files
/bin/ln -s /usr/ports/irc/anope/work/anope-2.0.14/modules/extra/m_mysql.cpp
/bin/ln -s
===>   anope-2.0.14 depends on shared library: libpcre.so - found
===>   anope-2.0.14 depends on shared library: libmariadb.so.3 - found
===>   anope-2.0.14 depends on shared library: libintl.so - found
-- Looking for kqueue
-- Looking for kqueue - found
CMake Error at cmake/Anope.cmake:477 (message):
  /usr/ports/irc/anope/work/anope-2.0.14/modules/m_mysql.cpp needs library
  mysqlclient but we were unable to locate that library! Check that the
  library is within the search path of your OS.
Call Stack (most recent call first):
  modules/CMakeLists.txt:74 (calculate_libraries)
  modules/CMakeLists.txt:203 (build_modules)

-- Configuring incomplete, errors occurred!
*** Error code 1

make[1]: stopped in /usr/ports/irc/anope
*** Error code 1

make: stopped in /usr/ports/irc/anope

I also have added this to upstream, see:

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