[MacPorts] #64009: pg cmake-1.1: add option to formally override build.cmd, for Make-type builds

MacPorts noreply at macports.org
Sat Nov 20 20:13:38 UTC 2021


#64009: pg cmake-1.1: 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 [comment:4 mascguy]:

 > Theoretically, a port could depend on `gmake` for some other purpose,
 without overriding `build.cmd` to use it. I can't imagine a need for such
 a scenario, apart from a rare case. But in the interest of eliminating any
 possible ambiguity or side-effects, I'd prefer a formal option.

 My suggestion would circumnvent any such ambiguity, by simply using the
 newest/most capable make command. Base could do this too btw, and note
 that this is also what happens when users put a symlink `make ->
 $prefix/bin/gmake` somewhere ahead in the $PATH that build commands see.

-- 
Ticket URL: <https://trac.macports.org/ticket/64009#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list