mysql8: remove cmake flag from build using openssl portgroup
Ryan Carsten Schmidt
ryandesign at macports.org
Thu Jun 27 00:03:02 UTC 2024
On Jun 26, 2024, at 18:43, John Hoyt wrote:
>
> As it turns out, if I move the configure.pre_args-delete command to post-patch it works.
>
> Not sure if this is the best place, but hey, it works....
It will not work if phases are run separately. For example if you run "sudo port patch" then the configure.pre_args will be changed as you requested, though this variable is not used during the patch phase. Later, if you run "sudo port configure", since the patch phase was already done, the post-patch block will not run again and you'll be using the wrong args at configure time.
Changes to a phase's args or env vars need to happen within that phase (e.g. in a pre- block) or (more usually) globally (not in any phase) to take effect reliably.
More information about the macports-dev
mailing list