diff options
| author | Billy O'Neal <bion@microsoft.com> | 2020-10-28 14:26:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 14:26:41 -0700 |
| commit | 1b1c17de8206231831b2bc8a06cff80506184be1 (patch) | |
| tree | b14e701224a7b12015ec3fef4782332251cd34de /ports/mpg123 | |
| parent | 0ff714bd520f5315081db50acce43644832451ba (diff) | |
| download | vcpkg-1b1c17de8206231831b2bc8a06cff80506184be1.tar.gz vcpkg-1b1c17de8206231831b2bc8a06cff80506184be1.zip | |
[vcpkg baseline] [vs-yasm] Build yasm instead of downloading it to work around memory corruption bugs in yasm itself. (#14003)
Diffstat (limited to 'ports/mpg123')
| -rw-r--r-- | ports/mpg123/CONTROL | 3 | ||||
| -rw-r--r-- | ports/mpg123/portfile.cmake | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ports/mpg123/CONTROL b/ports/mpg123/CONTROL index 3e7705ab0..be249c232 100644 --- a/ports/mpg123/CONTROL +++ b/ports/mpg123/CONTROL @@ -1,5 +1,6 @@ Source: mpg123 Version: 1.25.8 -Port-Version: 13 +Port-Version: 14 Homepage: https://sourceforge.net/projects/mpg123/ Description: mpg123 is a real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 (MPEG 1.0 layer 3 also known as MP3). +Build-Depends: yasm-tool-helper diff --git a/ports/mpg123/portfile.cmake b/ports/mpg123/portfile.cmake index 9438c5811..2a852b132 100644 --- a/ports/mpg123/portfile.cmake +++ b/ports/mpg123/portfile.cmake @@ -36,9 +36,9 @@ vcpkg_from_sourceforge( 0004-add-arm64-uwp-config.patch ) -vcpkg_find_acquire_program(YASM) -get_filename_component(YASM_EXE_PATH ${YASM} DIRECTORY) -set(ENV{PATH} "$ENV{PATH};${YASM_EXE_PATH}") + +include(${CURRENT_INSTALLED_DIR}/share/yasm-tool-helper/yasm-tool-helper.cmake) +yasm_tool_helper(APPEND_TO_PATH) if(VCPKG_TARGET_IS_UWP) vcpkg_build_msbuild( |
