aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/openal-soft/portfile.cmake5
-rw-r--r--ports/openal-soft/vcpkg.json2
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/openal-soft/portfile.cmake b/ports/openal-soft/portfile.cmake
index 79ea4a0c7..30c413ff4 100644
--- a/ports/openal-soft/portfile.cmake
+++ b/ports/openal-soft/portfile.cmake
@@ -80,7 +80,10 @@ foreach(HEADER al.h alc.h)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
string(REPLACE "defined(AL_LIBTYPE_STATIC)" "1" AL_H "${AL_H}")
else()
- string(REPLACE "defined(AL_LIBTYPE_STATIC)" "0" AL_H "${AL_H}")
+ # Normally we would say:
+ # string(REPLACE "defined(AL_LIBTYPE_STATIC)" "0" AL_H "${AL_H}")
+ # but we are leaving these undefined macros alone in support of
+ # https://github.com/microsoft/vcpkg/issues/18098
endif()
file(WRITE "${CURRENT_PACKAGES_DIR}/include/AL/${HEADER}" "${AL_H}")
endforeach()
diff --git a/ports/openal-soft/vcpkg.json b/ports/openal-soft/vcpkg.json
index c96c68a3c..8f86e6bd5 100644
--- a/ports/openal-soft/vcpkg.json
+++ b/ports/openal-soft/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "openal-soft",
"version-semver": "1.21.1",
- "port-version": 2,
+ "port-version": 3,
"description": "OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API.",
"homepage": "https://github.com/kcat/openal-soft",
"supports": "!uwp"