[MacPorts] #69930: php82-mysql, php83-mysql: Add mysql8 variant
MacPorts
noreply at macports.org
Tue Oct 15 21:43:51 UTC 2024
#69930: php82-mysql, php83-mysql: Add mysql8 variant
---------------------------------------+------------------------
Reporter: clouseau | Owner: ryandesign
Type: enhancement | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: php82-mysql, php83-mysql |
---------------------------------------+------------------------
Comment (by ryandesign):
Note to self: I encountered an unanticipated problem when trying to
integrate OpenSSL support into the PHP SAPI subports directly. Old
versions of PHP need old versions of OpenSSL. This need ought to be easy
to satisfy by using the openssl portgroup since it puts the correct `-I`
and `-L` flags for the requested version of OpenSSL before the `-I` and
`-L` flags for the standard MacPorts include and library directories in
the relevant environment variables. But building PHP fails at the link
phase because the `-L` flags are in the wrong order. It turns out this is
because PHP versions earlier than 8.3 don't honor user- (or
MacPorts-)specified `LDFLAGS`. See https://github.com/php/php-
src/pull/10678 and https://github.com/php/php-src/issues/11603 and
https://github.com/php/php-src/pull/11605. I need to try backporting this
fix.
--
Ticket URL: <https://trac.macports.org/ticket/69930#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list