Skip to content

Commit b1b1930

Browse files
authored
[vcpkg-make] Fix the make binary path on BSDs (#47009)
1 parent 5a01de7 commit b1b1930

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

ports/vcpkg-make/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vcpkg-make",
3-
"version-date": "2025-07-09",
3+
"version-date": "2025-08-21",
44
"documentation": "https://learn.microsoft.com/vcpkg/maintainers/functions/vcpkg_make_configure",
55
"license": null,
66
"supports": "native",

ports/vcpkg-make/vcpkg_make_configure.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,9 @@ function(vcpkg_make_configure)
133133
EMMAKEN_JUST_CONFIGURE
134134
)
135135

136-
find_program(Z_VCPKG_MAKE NAMES make gmake NAMES_PER_DIR REQUIRED)
136+
if(VCPKG_HOST_IS_FREEBSD OR VCPKG_HOST_IS_OPENBSD)
137+
find_program(Z_VCPKG_MAKE gmake REQUIRED)
138+
else()
139+
find_program(Z_VCPKG_MAKE NAMES make gmake NAMES_PER_DIR REQUIRED)
140+
endif()
137141
endfunction()

ports/vcpkg-make/vcpkg_make_install.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ function(vcpkg_make_install)
4141
vcpkg_make_get_shell(shell_var)
4242
set(shell_cmd "${shell_var}")
4343

44-
find_program(Z_VCPKG_MAKE NAMES make gmake NAMES_PER_DIR REQUIRED)
44+
if(VCPKG_HOST_IS_FREEBSD OR VCPKG_HOST_IS_OPENBSD)
45+
find_program(Z_VCPKG_MAKE gmake REQUIRED)
46+
else()
47+
find_program(Z_VCPKG_MAKE NAMES make gmake NAMES_PER_DIR REQUIRED)
48+
endif()
4549
set(make_command "${Z_VCPKG_MAKE}")
4650

4751
set(destdir "${CURRENT_PACKAGES_DIR}")

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10005,7 +10005,7 @@
1000510005
"port-version": 0
1000610006
},
1000710007
"vcpkg-make": {
10008-
"baseline": "2025-07-09",
10008+
"baseline": "2025-08-21",
1000910009
"port-version": 0
1001010010
},
1001110011
"vcpkg-msbuild": {

versions/v-/vcpkg-make.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "25cbb472c3760bcb8ab3d34271f1c1c674ebcac7",
5+
"version-date": "2025-08-21",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "a61503261b3d9410e844b52cab080cdf91b17685",
510
"version-date": "2025-07-09",

0 commit comments

Comments
 (0)