[MacPorts] #59864: meson-1.0.tcl: Use a cross file
MacPorts
noreply at macports.org
Sun Jan 5 20:55:23 UTC 2020
#59864: meson-1.0.tcl: Use a cross file
--------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:2 kencu]:
> not sure it's great to include the muniversal portgroup inside that
portfile, but it's much easier than doing having to define it separately
in every port that uses meson I suppose.
If that's the only way to do a universal build with meson, and I suspect
you're right that it is at this time, then including the muniveral
portgroup in the meson portgroup is probably the right thing to do.
However, individual ports that use meson may still want or need to disable
the universal variant, which they would want to do by specifying
`universal_variant no`. I am not sure whether the muniversal portgroup
respects that. I suspect that it does not. If not, adding support for that
to the muniversal portgroup might be nice, but I anticipate that this will
actually break a whole lot of ports which do not have a universal variant
by default and which currently use the muniversal portgroup and expect it
to provide a universal variant even though they are not setting
`universal_variant yes`.
It looks like the octave portgroup includes a workaround for this
deficiency in the muniversal portgroup. Until the muniversal portgroup is
fixed to support this, I guess that same workaround can be used in the
meson portgroup.
--
Ticket URL: <https://trac.macports.org/ticket/59864#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list