#38451 closed enhancement (fixed)
RFE: add a callback to automatically add a dependency on gmake when using build.type gnu on platforms where gnumake is not the default
Reported by: | cooljeanius (Eric Gallager) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | base | Version: | 2.1.3 |
Keywords: | Cc: | larryv (Lawrence Velázquez) | |
Port: |
Description
This was originally brought up in comment:ticket:38279:6 by larryv. See how BSD Make does it for reference.
Change History (9)
comment:1 follow-up: 2 Changed 12 years ago by afb@…
comment:2 follow-up: 4 Changed 12 years ago by larryv (Lawrence Velázquez)
Replying to afb@…:
The handling of "bsdmake" seems strange, since the code uses "make" on FreeBSD and "pmake" on Linux.
I think the default Make on FreeBSD is BSD Make, while on Linux it’s installed as “pmake”.
Anyway, the path to the various makes are set when doing the ./configure so doing it in build is a tad late.
The code in portbuild
is evaluated before any phases are performed. The build.cmd
option just determines the command that is run as part of the build phase.
comment:3 follow-up: 5 Changed 12 years ago by larryv (Lawrence Velázquez)
Priority: | Normal → Low |
---|
I daresay most platforms have GNU Make by default.
comment:4 Changed 12 years ago by afb@…
Replying to larryv@…:
The handling of "bsdmake" seems strange, since the code uses "make" on FreeBSD and "pmake" on Linux.
I think the default Make on FreeBSD is BSD Make, while on Linux it’s installed as “pmake”.
Forgot that the code isn't for other platforms, it's for installing bsdmake on Mac OS X when it is missing... (#33355)
We could add a similar block for FreeBSD where gmake is "supposed" to be installed, but then removed or something.
comment:5 Changed 12 years ago by afb@…
comment:8 follow-up: 9 Changed 12 years ago by jmroot (Joshua Root)
Neither gmake nor bsdmake should need an explicit depends_skip_archcheck, since they both set installs_libs no
.
The handling of "bsdmake" seems strange, since the code uses "make" on FreeBSD and "pmake" on Linux.
Anyway, the path to the various makes are set when doing the ./configure so doing it in build is a tad late.