-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make
is preferred over gmake
#5704
Comments
on *BSD system, it is opam/src/state/opamStateConfig.ml Lines 98 to 102 in 49346c3
If it's not the case, it's a bug indeed. |
which platform are you on? Could you show us the output of |
I'm on Linux. Here is a cram test demonstrating the issue:
You can also modify the above to leave only Edit: I've just seen @rjbou's code and indeed that will work on *BSD. As more exotic platforms get added, they will need to be special cased. One such platform that isn't covered here is I'm happy closing this issue however just wanted to let you know about it. |
I remember having issues on platforms such as Windows when using If my memory is correct the problem i had was that gmake/make was preinstalled by a big project separately (Git maybe?) and made available in Maybe it was a problem in the configuration of the system i was on but regardless I would personally feel icky to use Maybe we could somehow detect if the |
I think that in practice preferring |
I've opened a PoC PR in #5705 showing a working implementation of that. |
%{make}
gets expanded to whatevermake
points to inPATH
. On some systems such as *BSD there can be a difference betweenmake
and gnu makegmake
. OPAM currently prefers the first even thoughgmake
was probably intended. This seems like a bug andgmake
should be preferred when available when expanding%{make}
.The text was updated successfully, but these errors were encountered: