Skip to content

Commit ec8cde3

Browse files
authored
Use 'gmake' instead of 'make' when compiling deps on NetBSD/DragonFlyBSD (#10319)
There are basically two implementations of BSD make now, the NetBSD one (also used by FreeBSD, available as 'bmake' on Linux), and the OpenBSD one.
1 parent 0d18ecd commit ec8cde3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mix/lib/mix/tasks/deps.compile.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ defmodule Mix.Tasks.Deps.Compile do
1515
* `mix.exs` - invokes `mix compile`
1616
* `rebar.config` - invokes `rebar compile`
1717
* `Makefile.win`- invokes `nmake /F Makefile.win` (only on Windows)
18-
* `Makefile` - invokes `gmake` on FreeBSD and OpenBSD, invokes `make`
19-
on any other operating system (except on Windows)
18+
* `Makefile` - invokes `gmake` on DragonFlyBSD, FreeBSD, NetBSD, and OpenBSD,
19+
invokes `make` on any other operating system (except on Windows)
2020
2121
The compilation can be customized by passing a `compile` option
2222
in the dependency:
@@ -259,7 +259,7 @@ defmodule Mix.Tasks.Deps.Compile do
259259
{:win32, _} when makefile_win? ->
260260
"nmake /F Makefile.win"
261261

262-
{:unix, type} when type in [:freebsd, :openbsd] ->
262+
{:unix, type} when type in [:dragonfly, :freebsd, :netbsd, :openbsd] ->
263263
"gmake"
264264

265265
_ ->

0 commit comments

Comments
 (0)