[MacPorts] #59815: php: add php74 subports
MacPorts
noreply at macports.org
Sat Jan 4 08:07:33 UTC 2020
#59815: php: add php74 subports
----------------------+------------------------
Reporter: elcheco | Owner: ryandesign
Type: request | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: php |
----------------------+------------------------
Comment (by chrisminett):
OK, so having run them all in trace mode (I must have not done it properly
before) they all need `pkgconfig` except `php-dba`. Given that PHP is
moving to using pkg-config, it seems it might be sensible to add it as a
general build dependency in the PHP portfile when the branch is gteq
php74. I'm not sure how best to achieve this though, as the SAPI block
uses `depends_build port:pkgconfig`. Is it possible to just put the
following above the SAPI if block, or should it be with `-append` ?
{{{
if {[vercmp ${branch} 7.4] >= 0} {
depends_build port:pkgconfig
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59815#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list