[MacPorts] #64006: mysql* lacks editline or readline support
MacPorts
noreply at macports.org
Sat Nov 20 13:33:08 UTC 2021
#64006: mysql* lacks editline or readline support
----------------------------+-------------------------------------
Reporter: laggardkernel | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: mysql editline readline
Port: mysql8 |
----------------------------+-------------------------------------
Comment (by chrstphrchvz):
Looking at [https://github.com/mysql/mysql-
server/blob/mysql-8.0.27/cmake/readline.cmake#L191 CMake code in MySQL],
it currently is only using its bundled libedit, and not picking up
external libedit. Since the bundled libedit is slightly older than
MacPorts’ libedit and only has [https://github.com/mysql/mysql-
server/commit/53f90582fd54 a few bug fixes] patched onto it rather than
any major MySQL-specific additions or modifications, I would consider
switching to MacPorts’ libedit: this would involve adding `depends_lib-
append port:libedit` and `configure.args-append -DWITH_EDITLINE=system`,
but since `WITH_EDITLINE` does not accept a path, I would want to make
sure this approach will only ever use MacPorts’ libedit.
I am not a UNIX veteran, and don’t know the first thing about
editline/readline (other than that it lets me use the arrow keys), so I
would want the reporter or someone knowledgeable to confirm this approach
helps.
--
Ticket URL: <https://trac.macports.org/ticket/64006#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list