[MacPorts] #64009: cmake-1.1 portgroup: add option to formally override build.cmd, for Make-type builds
MacPorts
noreply at macports.org
Fri Mar 29 11:53:58 UTC 2024
#64009: cmake-1.1 portgroup: add option to formally override build.cmd, for Make-
type builds
---------------------------+----------------------
Reporter: mascguy | Owner: mascguy
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: pg-cmake-1.1 |
---------------------------+----------------------
Comment (by RJVB):
Replying to [ticket:64009 mascguy]:
> Presently, portgroup `cmake-1.1` is hard-coded to assume the use of
macOS `make`, for Make-type builds. However, that precludes the use of
`gmake`.
>
> Add a formal override, allowing ports to specify the value for
`build.cmd` for that case.
There probably is rarely a need to change the command used for Ninja
builds, but still, on 2nd thought the cleanest way to address this issue
would be to have `cmake.make_cmd` and `cmake.ninja_cmd` (or equivalent)
options with defaults set
the current hardwired commands.
Is there an actual case where this is required? With CMake, Makefiles are
generated from scratch, not from automake templates that could include
features not supported by the system `make` command. IOW, it would take a
pretty complex (and probably a "hybrid") build system to run into such
features, as long as CMake itself doesn't use them.
--
Ticket URL: <https://trac.macports.org/ticket/64009#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list