File tree Expand file tree Collapse file tree 7 files changed +37
-19
lines changed Expand file tree Collapse file tree 7 files changed +37
-19
lines changed Original file line number Diff line number Diff line change 1
1
set (VCPKG_POLICY_CMAKE_HELPER_PORT enabled)
2
2
3
+ set (automake_version 1.17)
3
4
vcpkg_download_distfile(ARCHIVE
4
- URLS https://ftp.gnu.org/gnu/automake/automake-1.17.tar.gz
5
- FILENAME automake.tar.gz
5
+ URLS https://ftp.gnu.org/gnu/automake/automake-${automake_version} .tar.gz
6
+ https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/automake/automake-${automake_version} .tar.gz
7
+ FILENAME automake-${automake_version} .tar.gz
6
8
SHA512 11357dfab8cbf4b5d94d9d06e475732ca01df82bef1284888a34bd558afc37b1a239bed1b5eb18a9dbcc326344fb7b1b301f77bb8385131eb8e1e118b677883a
7
9
)
8
10
@@ -29,4 +31,13 @@ file(INSTALL
29
31
"${CURRENT_PACKAGES_DIR} /share/${PORT} /wrappers"
30
32
)
31
33
32
- vcpkg_install_copyright(FILE_LIST "${VCPKG_ROOT_DIR} /LICENSE.txt" )
34
+ vcpkg_install_copyright(
35
+ COMMENT [[
36
+ The cmake scripts are under vcpkg's MIT license terms, see LICENSE.txt below.
37
+ The port also installs shell scripts from GNU Automake.
38
+ These scripts are under GPL-2.0-or-later, see COPYING below.
39
+ ]]
40
+ FILE_LIST
41
+ "${VCPKG_ROOT_DIR} /LICENSE.txt"
42
+ "${automake_source} /COPYING"
43
+ )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vcpkg-make" ,
3
- "version-date" : " 2023-05-15 " ,
4
- "documentation" : " https://vcpkg.io/en/docs/ maintainers/ports/vcpkg-make.html " ,
5
- "license" : " MIT " ,
3
+ "version-date" : " 2024-12-27 " ,
4
+ "documentation" : " https://learn.microsoft.com/vcpkg/ maintainers/functions/vcpkg_make_configure " ,
5
+ "license" : null ,
6
6
"supports" : " native" ,
7
7
"dependencies" : [
8
8
{
9
- "name" : " pkgconf" ,
10
- "host" : true ,
11
- "platform" : " windows"
12
- },
13
- " vcpkg-cmake-get-vars"
9
+ "name" : " vcpkg-cmake-get-vars" ,
10
+ "host" : true
11
+ }
14
12
]
15
13
}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ function(z_vcpkg_make_determine_arch out_var value)
52
52
elseif (${value} MATCHES "^(ARM|arm)$" )
53
53
set (${out_var} arm PARENT_SCOPE)
54
54
elseif (${value} MATCHES "^(x86_64|i686|aarch64)$" OR NOT VCPKG_TARGET_IS_WINDOWS)
55
- # Do nothing an assume valid architectures
55
+ # Do nothing and assume valid architecture
56
56
set ("${out_var} " "${value} " PARENT_SCOPE)
57
57
else ()
58
58
message (FATAL_ERROR "Unsupported architecture '${value} ' in '${CMAKE_CURRENT_FUNCTION} '!" )
@@ -65,6 +65,7 @@ function(z_vcpkg_make_determine_host_arch out_var)
65
65
elseif (DEFINED ENV{PROCESSOR_ARCHITECTURE})
66
66
set (arch $ENV{PROCESSOR_ARCHITECTURE} )
67
67
else ()
68
+ z_vcpkg_make_get_cmake_vars(#[[ LANGUAGES .... ]] )
68
69
set (arch "${VCPKG_DETECTED_CMAKE_HOST_SYSTEM_PROCESSOR} " )
69
70
endif ()
70
71
z_vcpkg_make_determine_arch("${out_var} " "${arch} " )
@@ -280,7 +281,7 @@ function(z_vcpkg_make_prepare_programs out_env)
280
281
endif ()
281
282
endforeach ()
282
283
283
- if (NOT arg_DISABLE_MSVC_WRAPPERS)
284
+ if (NOT arg_DISABLE_MSVC_WRAPPERS AND NOT VCPKG_TARGET_IS_MINGW )
284
285
z_vcpkg_append_to_configure_environment(configure_env CPP "compile ${VCPKG_DETECTED_CMAKE_C_COMPILER} -E" )
285
286
z_vcpkg_append_to_configure_environment(configure_env CC "compile ${VCPKG_DETECTED_CMAKE_C_COMPILER} " )
286
287
z_vcpkg_append_to_configure_environment(configure_env CXX "compile ${VCPKG_DETECTED_CMAKE_CXX_COMPILER} " )
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ function(vcpkg_make_configure)
36
36
list (APPEND prepare_flags_opts "LANGUAGES" ${arg_LANGUAGES} )
37
37
endif ()
38
38
39
+ # Create cached cmake vars for this invocation's languages
40
+ z_vcpkg_make_get_cmake_vars(LANGUAGES ${arg_LANGUAGES} )
41
+
39
42
set (escaping "" )
40
43
if (arg_DISABLE_MSVC_TRANSFORMATIONS)
41
44
set (escaping NO_FLAG_ESCAPING)
Original file line number Diff line number Diff line change @@ -154,14 +154,14 @@ function(vcpkg_prepare_pkgconfig config)
154
154
endforeach ()
155
155
156
156
vcpkg_find_acquire_program(PKGCONFIG)
157
- get_filename_component (pkgconfig_path "${PKGCONFIG} " DIRECTORY )
158
157
set (ENV{PKG_CONFIG} "${PKGCONFIG} " )
159
158
160
159
vcpkg_host_path_list(PREPEND ENV{PKG_CONFIG_PATH}
161
- "${CURRENT_INSTALLED_DIR} /share/pkgconfig/"
162
- "${CURRENT_INSTALLED_DIR}${subdir} /lib/pkgconfig/"
163
- "${CURRENT_PACKAGES_DIR} /share/pkgconfig/"
164
- "${CURRENT_PACKAGES_DIR}${subdir} /lib/pkgconfig/"
160
+ # After installation, (merged) 'lib' is always searched before 'share'.
161
+ "${CURRENT_PACKAGES_DIR}${subdir} /lib/pkgconfig"
162
+ "${CURRENT_INSTALLED_DIR}${subdir} /lib/pkgconfig"
163
+ "${CURRENT_PACKAGES_DIR} /share/pkgconfig"
164
+ "${CURRENT_INSTALLED_DIR} /share/pkgconfig"
165
165
)
166
166
endfunction ()
167
167
Original file line number Diff line number Diff line change 9401
9401
"port-version" : 0
9402
9402
},
9403
9403
"vcpkg-make" : {
9404
- "baseline" : " 2023-05-15 " ,
9404
+ "baseline" : " 2024-12-27 " ,
9405
9405
"port-version" : 0
9406
9406
},
9407
9407
"vcpkg-msbuild" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"versions" : [
3
+ {
4
+ "git-tree" : " ac1381c26cff8ab8365670f4fb00395e86c58dfa" ,
5
+ "version-date" : " 2024-12-27" ,
6
+ "port-version" : 0
7
+ },
3
8
{
4
9
"git-tree" : " 50a2b6aaf3c272b1eff8ce757e14091c374d9855" ,
5
10
"version-date" : " 2023-05-15" ,
You can’t perform that action at this time.
0 commit comments